Written by Administrator Saturday, 28 August 2004 15:10
Alasan :cfdisk 2.11n
Disk Drive: /dev/hda
Size: 10005037056 bytes
Heads: 255 Sectors per Track: 63 Cylinders: 1216
Name Flags Part Type FS Type [Label] Size (MB)
-------------------------------------------------------------------------------------------------------------
hda1 Primary Win95 FAT32 3676.71
hda2 Primary Linux ext2 1497.01
hda3 Boot Primary Linux ext2 1497.01
hda5 Logical Linux ext2 1497.01
hda6 Logical Linux swap 386.59
hda7 Logical Win95 FAT32 1447.65
buraq:~# apt-cache search grub
grub - GRand Unified Bootloader
apt-get -y install grub
rpm -Uvh /path-ke-dir-RPMS-dalam-redhat-atau-mandrake/RPMS/grub******
buraq:~# mkdir /boot/grub/
buraq:~# cp /usr/lib/grub/i386-pc/stage1 /boot/grub/
buraq:~# cp /usr/lib/grub/i386-pc/stage2 /boot/grub/
buraq:~# cp /usr/lib/grub/i386-pc/stage2 /boot/grub/
buraq:~# cp /usr/lib/grub/i386-pc/e2fs_stage1_5 /boot/grub/
buraq:~# grub
Probing devices to guess BIOS drives. This may take a long time.
GRUB version 0.91 (640K lower / 3072K upper memory)
[ 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> root (hd0, <-- ketik [TAB disini]
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xb
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
Partition num: 6, Filesystem type is fat, partition type 0xb
grub> root (hd0,
grub> quit
buraq:~# cd /boot/grub/
buraq:/boot/grub# vi menu.lst
#----------------------start file----------------------------
default 0
timeout 30
color white/blue blue/green
title Windows-2000
root (hd0,0)
makeactive
chainloader +1
title Slackware
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2
title Debian
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3
title Mandrake
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 devfs=mount
initrd (hd0,4)/boot/initrd.img
title Slackware-failsafe
kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 failsafe
title Debian-failsafe
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 failsafe
title Mandrake-failsafe
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 failsafe devfs=nomount
initrd (hd0,4)/boot/initrd.img
#----------------------end file----------------------------
buraq:/boot/grub# grub
Probing devices to guess BIOS drives. This may take a long time.
GRUB version 0.91 (640K lower / 3072K upper memory)
[ 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> root (hd0, <<-- ketik [TAB]
Possible partitions are:
Partition num: 0, Filesystem type is fat, partition type 0xb
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
Partition num: 6, Filesystem type is fat, partition type 0xb
grub> root (hd0,2)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+16 p (hd0,2)/boot/grub/stage
2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit