Re: Dual Booting Linux and XP

From: Reuben D. Budiardja (techlist_at_voyager.phys.utk.edu)
Date: 06/24/04

  • Next message: jim.marnell_at_cca-int.com: "Re: More help needed please"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Thu, 24 Jun 2004 15:01:01 -0400
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: jim.marnell_at_cca-int.com: "Re: More help needed please"

    Relevant Pages

    • Re: Windows multiboot (aaargh!)
      ... >> The Linux boot floppy is a bit more tricky. ... So I tried adding cfdisk to a spare Debian Woody boot ... > I reduced all the partition sizes by a third. ...
      (Debian-User)
    • Re: Multiple questions...
      ... >in Windows Xp Home Edition. ... >boot into Linux and DOS. ... >installing 3 OS's on a single partition, or is there a simpler way... ...
      (microsoft.public.windowsxp.hardware)
    • Re: lilo not in MBR
      ... NS> I have the following disk configuration: ... On NTFS partition I have working Win XP system. ... NS> Linux Ext2. ... NS> active parititon from Win XP with PartitionMagic to Linux Ext2 partition, boot ...
      (comp.os.linux.misc)
    • Re: FW: FW: [SLE] Urgent! Need help!
      ... >> Device Boot Start End Blocks Id System ... >>As you told earlier, you should have only one Linux partition, so it ... >>You have found the partition you was looking for!. ... > title windows ...
      (SuSE)
    • Re: [SLE] grub refuses to grub
      ... > for Windows and 60 gig HD for Linux, a regular CDROM and a CDRW. ... > which distro I try to install and have install Grub, ... > where the actual boot sector is, and I gather, where the actual Grub ... whole HD as a single partition. ...
      (SuSE)