[Ilugc] RE: Grub booting
- From: indianathann@xxxxxxxxx (பத்மநாதன்)
- Date: Fri Sep 18 11:55:21 2009
Have these two lines in grub.conf. I think it is called menu.lst
nowadays.
chainloader +1
--\Grub menu list is as below
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
#password --md5 $1$Y5BZMnQQ$Zt1z8ag7T1/7MysWhQxCv1
title Red Hat Desktop (2.6.9-22.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet noapic acpi=off
initrd /initrd-2.6.9-22.EL.img
title Windows 2000 Professional
rootnoverify (hd1)
chainloader (hd1)+1
map (hd1) (hd0,1)
- - -
What does fdisk /dev/sda and fdisk /dev/sdb show?
--\ result of fdisk -l
[padhu2@Padhu ~]$ su -
Password:
[root@Padhu ~]# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xeee99310
Device Boot Start End Blocks Id System
/dev/sda1 * 1 131 1052226 83 Linux
/dev/sda2 132 5230 40957717+ 83 Linux
/dev/sda3 5231 11636 51456195 f W95 Ext'd (LBA)
/dev/sda4 11637 19457 62822182+ 83 Linux
/dev/sda5 5231 7780 20482843+ 83 Linux
/dev/sda6 7781 10330 20482843+ 83 Linux
/dev/sda7 10331 10591 2096451 83 Linux
/dev/sda8 10592 10852 2096451 83 Linux
/dev/sda9 10853 11113 2096451 83 Linux
/dev/sda10 11114 11374 2096451 83 Linux
/dev/sda11 11375 11505 1052226 82 Linux swap / Solaris
/dev/sda12 11506 11636 1052226 82 Linux swap / Solaris
Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000edbb8
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 131 1048576 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 131 15429 122880000 83 Linux
/dev/sdb3 15429 19253 30720000 83 Linux
/dev/sdb4 19254 20023 6185025 5 Extended
/dev/sdb5 19254 19515 2097152 83 Linux
[root@Padhu ~]#
It chainloads to the grub of F11 which is on MBR of that disk?
--\ Yes
Both HHDs are having linux and when i select the windows, second HHD linux
(FC11) is booting without any problem. How is it possible?
--
Padhu,
Pollachi.
Knowledge is power !
"Be an Energy (Opti)mizer - Use Electricity Wiser"
Other related posts: