[ale] GRUB & dual boots Questions

LIDGE,CATHERINE (HP-Loveland,ex1) catherine_lidge at hp.com
Thu Jun 13 17:24:05 EDT 2002








<span style='font-size:10.0pt;
font-family:Arial'>Currently I have a dual boot setup with XP and Red Hat 7.3,
I am using GRUB as my boot loader and have run into a large issue, <span
class=GramE>it seems I may simply be missing a step.<span
style='mso-spacerun:yes'>  Currently when I boot, my boot.ini displays
a dual option:

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>XP Pro

<span style='font-size:10.0pt;
font-family:Arial'>Red Hat 7.3

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>But if select Red Hat 7.3 it will reboot the unit. 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>My grub.conf looks like:

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>#boot=/dev/hd5

<span
style='font-size:10.0pt;font-family:Arial'>default=<font
size=2 face=Arial>0

<span
style='font-size:10.0pt;font-family:Arial'>timeout=<font
size=2 face=Arial>0

<span
style='font-size:10.0pt;font-family:Arial'>splashimage<font
size=2 face=Arial>=(hda0,4)/boot/grub/splash.xpm.gz

<span
style='font-size:10.0pt;font-family:Arial'>title<font
size=2 face=Arial> Red Hat Linux
(2.4.18-3)

<span style='font-size:10.0pt;
font-family:Arial'><span
style='mso-spacerun:yes'>          
root (hda0,4)

<span
style='font-size:10.0pt;font-family:Arial'>kernel<font
size=2 face=Arial>
/boot/vmlinuz-2.4.18-3 ro root=/dev//hda5

<span
style='font-size:10.0pt;font-family:Arial'>initrd<font
size=2 face=Arial>
/boot/initrd-2.4.18-3.img

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>My HDD is partitioned:

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda1  
*     1<span
style='mso-spacerun:yes'>  <span
style='mso-spacerun:yes'>         <span
style='mso-spacerun:yes'> 406<span
style='mso-spacerun:yes'>     <span
style='mso-spacerun:yes'> 3069328+<span
style='mso-spacerun:yes'>  <span
style='mso-spacerun:yes'> <span
style='mso-spacerun:yes'>  7<span
style='mso-spacerun:yes'>  HPFS/NTFS

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda2<span
style='mso-spacerun:yes'>        407 <span
style='mso-spacerun:yes'>        1761<span
style='mso-spacerun:yes'>    10243800<span
style='mso-spacerun:yes'>     <span
style='mso-spacerun:yes'> 5<span
style='mso-spacerun:yes'>  Extended

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda5<span
style='mso-spacerun:yes'>        407<span
style='mso-tab-count:1'>         948<span
style='mso-tab-count:1'>       4097488+<span
style='mso-spacerun:yes'>   <span
style='mso-spacerun:yes'> 83<span
style='mso-spacerun:yes'>  Linux

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda6<span
style='mso-spacerun:yes'>        949<span
style='mso-tab-count:1'>         1490<span
style='mso-tab-count:1'>     4097488+<span
style='mso-spacerun:yes'>   <span
style='mso-spacerun:yes'> 83 Linux

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda7<span
style='mso-spacerun:yes'>       1491<span
style='mso-tab-count:1'>        1558<span
style='mso-tab-count:1'>     514048+<span
style='mso-spacerun:yes'>     82 Linux SWAP

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda8          1559<span
style='mso-tab-count:1'>     1626<span
style='mso-tab-count:1'>     514048+<span
style='mso-tab-count:1'>            83
Linux            <span
style='mso-tab-count:1'>            

<span style='font-size:10.0pt;
font-family:Arial'>/dev/hda9<span
style='mso-spacerun:yes'>        1627<span
style='mso-tab-count:1'>       1755<span
style='mso-tab-count:1'>     975208+<span
style='mso-tab-count:1'>            83
Linux

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>My boot.ini:

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>[boot loader]

<span
style='font-size:10.0pt;font-family:Arial'>timeout=<font
size=2 face=Arial>30

<span
style='font-size:10.0pt;font-family:Arial'>default=<font
size=2 face=Arial>multi(0)disk(0)rdisk(0)partition(1)\windows

<span style='font-size:10.0pt;
font-family:Arial'>[operating systems]

<span
style='font-size:10.0pt;font-family:Arial'>multi(<font
size=2 face=Arial>0)disk(0)rdisk(0)partition(1)\windows="Microsoft
Windows XP Professsional" /fastdetect

<span style='font-size:10.0pt;
font-family:Arial'>C:/GRUBBoot.lnx="Red Hat 7.3"

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>After I installed Red Hat 7.3, I followed the following
steps:

<span style='font-size:10.0pt;
font-family:Arial'> 


 <font
     size=2 face=Arial>#dd
     if=/dev/hda5 of=GRUBBoot.lnx bs=512 count=1
 <font
     size=2 face=Arial>then I
     copied GRUBBoot.lnx to my recovery or backup redhat floppy 
 <font
     size=2 face=Arial>Then in
     XP I copied GRUBBoot.lnx to C:\ directly 
 <font
     size=2 face=Arial>Editing
     my boo.ini see above 


<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>I have also run grub-install /dev/hda5 again and still
system will only reboot itself after the Red Hat selection.

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'>Any suggestions would be greatly appreciated. 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'> 

<span style='font-size:10.0pt;
font-family:Arial'> 










More information about the Ale mailing list