Re: Dual Booting Linux and XP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 24 June 2004 02:35 pm, rahul b jain cs student wrote:
> But how do I edit grub / lilo ( I am using lilo) as I am not being able to
> boot into linux. I also dont have a floppy drive to boot from a bootable
> floppy. During my installation, I had selected linux as my default boot.
>
> I also tried upgrading linux after installation, but it didnt update the
> lilo boot options. Plz let me know.

LILO is fine too. 
Use the Redhat Disk 1 CD to boot, at the prompt type 'Linux rescue'. Now you 
get a shell, then:

1. Go to /mnt and make a new directory 
mkdir realroot
2. mount the / partition of your linux installation to that directory:
mount /dev/hdaX /mnt/realroot 

where X is the partition niumber, assuming it's in /dev/hda

3. Change the root to that
chroot /mnt/realroot

4. Now your / is on the real root partition of the linux installation. Edit 
/etc/lilo.conf as necessary, then run 
/sbin/lilo

exit the shell, reboot, you should see LILO on boot.

RDB


-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux