LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Red Hat 9 on same disk with White Box 3 (https://www.linuxquestions.org/questions/linux-newbie-8/red-hat-9-on-same-disk-with-white-box-3-a-238921/)

mobius 10-05-2004 02:02 AM

Red Hat 9 on same disk with White Box 3
 
Hi All linux lovers,
I have been running RH 9 partitioned on a single 40GB disc with no problems so far. I loaded White Box Enterprise 3 on the same disc hoping grub would auto detect it, unfortunately it did not. I have done some searching arouns and believe that I need to edit the grub file. I am not too sure exactly how to go about this and would be grateful for any guidance.
Looking forward to hearing from a guru
Eddie

aus9 10-06-2004 11:43 PM

eddie its not clear your use of the word single disc = single partition but I think you mean you now have rh and rhwhitebox? rather than you used to have rh and overwrite with wbox?

no bootloader can auto detect but grub can find stuff see my troubleshooting section in this link
http://www.linuxquestions.org/questi...hreadid=237511

so when grub starts after bios its C for commands
root (hd0, (comma) and then press the tab key to get a look at all the (hd0, partitions on your drive)
since you have not posted your rh /etc/fstab or your wbox /etc/fstab I will leave it to you to confirm whats what.

2) the find is used like this
3) To find my kernel.
find /boot/vmlinuz and press enter
The response was (hd0,0) for me but you can have more if you have a multiboot linux system.
lets say you have a rh response (hd0,0) and wbox (hd0,10) then to get to wbox kernel its
root (hd0,10)
kernel /boot/vmlinuz and press tab to see how may kernels you have
if one its
kernel /boot/vmlinuz root=/dev/hda15 ro

Hopefully you can still remember where / partiton is on wbox?
if not use the cat command
cat /etc/fstab and change /dev/hda15 to suit the guilty to match the / by its self entry

4) then do the same for initrd if you use one. it will be initrd.gz or more likely initrd.img
initrd /boot/initrd and press tab

5) putting it all together your commands could be
root (hd0,10)
kernel /boot/vmlinuz root=/dev/hda15 ro
initrd /boot/initrd.img

mobius 10-07-2004 06:26 AM

RH9 & RHWhite Box 3
 
Yes, that is correct. I have been using RH9 on a 40G HDD and installed RHWhiteBox on the same HDD but on different partitions. RH9 using hda1-7. RHWB 8-13 sharing the same swap. I'm on my box at work right now so I'll be following your advice as soon as I get back home. I'll let you know how it goes and post any info regarding same. It's great to be part of a larger world.
Thanks


All times are GMT -5. The time now is 11:17 PM.