File type is ext2fs, using whole disk

  1. Home
  2. /
  3. Pendidikan
  4. /
  5. File type is ext2fs, using whole disk
File type is ext2fs, using whole disk

File type is ext2fs, using whole disk

Posted in : Pendidikan on by : admin

File type is ext2fs, using whole disk

File type is ext2fs, using whole disk

File type is ext2fs, using whole disk

which means that the devices fd0 File (/ dev/fd0) or floppy all its contents using ext2. The “root” was ask to see the GRUB stage1 and stage2 on fd0 devices, which in defaultya see in the GRUB boot / grub / partition on the disk that you specify (ie the device fd0).
We just copying files to the appropriate directory. Then we will ask to install GRUB Boot Records in the floppy diskette with us using the “setup (device)” in the GRUB console.
grub> setup (fd0)
the view that:

Checking if “/ boot/grub/stage1” exists … yes
Checking if “/ boot/grub/stage2” exists … yes
Checking if “/ boot/grub/e2fs_stage1_5” exists no …
Running “install / boot/grub/stage1 d (fd0) / boot/grub/stage2 p / boot / grub / grub. Conf” Done … Johnson Space Center.

Then the “quit” in the GRUB console to exit. Thus, we already have the GRUB boot disk that we will “play” to experiment more :-).
grub> quit
When you use GRUB Boot Loader as you, first make sure you know the partition where you save the kernel Linuxnya name and the partition that contains the root filesystem “/”. Also make sure you see the LILO configuration, like some of the arguments that the need for mempassingkan arguments to the kernel, such as “append = ide-scsi” to mengemulasikan presence cdwriter as scsi, and the argument – an argument the other. If we already know all this information, we will start quietly.

Starting GRUB
To start the GRUB, we will shutdown the computer, and memboot from the boot disk that was created earlier. But if you want to run it from the system that has been running. You can run grub such as the above, all will be running the same, but you will not be what memboot it from here (because the system is running Linux).
When Memboot from bootdisk that we created earlier, GRUB will seek information from the BIOS and find the file that we have a copy delivered to the bootdisk before. The view will be the same as we run the above:

GRUB version 0.90 (640K lower / upper memory 3072K)
[Minimal Bash-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device / filename. ]
grub>

As you can see all the same as above, but we will memboot Linux System you from here.
In Linux, when we talk about the “root” filesystem, we will appointed directly to the main Linux partitions (/). But GRUB has its own definition of partition “root”. Partition “root” GRUB is the partition that you save the Linux kernel. This may or not the file system root “normal” that you have. In the example, on Gentoo Linux partition we have a small, separate to save the Linux Kernel and information – information Booting. We leave this partition is not mounted, so will not fall apart if accidentally or intentionally system is suddenly crashes or mereboot back.
Now we are in the GRUB, we will show the location of the root. When we enter the root partition by memountnya GRUB will be read-only option, so can mengload Linux Kernel from there. One thing that is really fantastic in the GRUB GRUB is able to read FAT partitions, minix, ext2, FFS and Reiserfs.
Type the command root in the GRUB
grub> root (
Press the button TAB, will likely fill the disk partition that you have. If you have multiple partitions starting from hd0 (not the / dev / hda as usual). If you only have one hard drive, the GRUB will be filled with “hd0”. If you have more than one hard drive please select the hard drive that is the kernel linuxnya, for example, “hd0” followed with a comma “,” next to it. Up here do not press [Enter]!
grub> root (hd0,
Then press [Tab] to see the possibility of partitioning the hard drive you have in it.
grub> root (hd0, [Tab]

Possible partitions are:
Partition NUM: 0, Filesystem type is ext3fs, partition type 0 × 83
Partition NUM: 1, Filesystem type unknown, partition type 0 × 82
Partition NUM: 2, Filesystem type unknown, partition type 0 × 7
Partition NUM: 4, Filesystem type is reiserfs, partition type 0 × 83
Partition NUM: 5, Filesystem type is the GNU Hurd, partition type 0 × 63

Of course, the appearance will vary in accordance with the partition on your hard drive. On Linux, usually from 5 to partition the hard drive hda5, but on the other GRUB defined, namely (hd0, 4). GRUB use the naming / labeling hard disk partitions and started from 0, not a or 1.
We will memboot hard drive containing the Linux Kernel, as for example in the partition to -5,
grub> root (hd0, 0) [Enter]
File type is ext3fs, partition type 0 × 83
Then specify the location of the kernel. You put it in accordance with the location of the Linux kernel.
grub> kernel / boot/vmlinuz-2.4.7-10 ro root = / dev/hda5
Means the kernel is called vmlinuz-2.4.7-10 and located in the directory / boot, with mounting read-only to the root “/” in / dev/hda5.
You can add your kernel parameters such as the “root = / dev/hda5” and “mem = 256.”
Note: kernel parameters “root =” is defined important to show you the root filesystem.
You have to mount the root filesystem, and load your Linux kernel. When you memboot your linux kernel, with a simple command using the “boot”.
grub> boot
and the Linux boot process will begin.
GRUB configuration file (grub.conf) in the directory / boot / grub /. The following examples of the contents of grub.conf:

Sumber : https://abovethefraymag.com/