Re: boot hdb?

From: Martin J. Stumpf (mjs_at_jhu.edu)
Date: 01/13/04

  • Next message: Stamper, Steve: "Anaconda/RHAS question"
    To: redhat-list@redhat.com
    Date: Tue, 13 Jan 2004 08:27:41 -0500
    
    

    Greg,

    Assuming you have both drives in your box and you have just installed
    RH9 onto hdb and your goal is as stated which I read to mean that you
    want to make hdb the primary installation and boot off of it.

    Option one: Change the boot order in BIOS if possible. (most new BIOS
    can do this)
    1. Boot into grub on your current hda and then install grub onto hdb's mbr.
    2. Go into your BIOS at boot and change the boot order of the hard drives.
    3. Now your old hda will be hdb but at boot, grub should load your RH9
    as expected.
    Note: this assumes that your grub.conf if already correct for the new
    installation.

    Option two: Dual boot off two hd's
    1. Boot into grub off of hda.
    2. edit the config file <e at the grub screen> such that you can boot
    off of hdb.
    3. This might look like:
        map (hd1) (hd0)
        root (hd1, 2) # assuming that your boot partition is the third partition
        kernel /vmlinuz root=/dev/hda1
        initrd /initrd.img
    4. If this works then permanently edit the /boot/grub/grub.conf file

    HTH,

    -Martin

    g whitley mott wrote:

    >goal: replace hda (with a bigger drive)
    >limits: no floppy, no cd burner
    >
    >how do i do it?
    >
    >rh9 is running on hdb. grub boots off hda, of course, so when i replace
    >hda, i'll lose my mbr.
    >
    >i have at hand a set of rh7.2 cd's. but even having booted the rescue
    >cd, i don't see how then to boot into my working rh9 partition on hdb.
    >
    >i can invoke grub while on the rescue cd. it can install an mbr. but
    >if i try to set root to (hd1,2), and install an mbr, i just get
    >something about wrong cylinder size or some such message when i try to
    >boot.
    >
    >with grub running on the rescue cd, i can load the configfile from my
    >rh9 partition on hdb. but it won't let me just go and boot. that's all
    >i really want to do. how do i do it?
    >
    >tia,
    >greg
    >
    >

    -- 
    ------------------------------------------------------------------------
    Martin J. Stumpf
    Division of Medical Imaging Physics, Department of Radiology
    Johns Hopkins University School of Medicine
    601 North Caroline Street / JHOC 4230
    Baltimore, Maryland 21287-0855 USA
    Voice: (410) 614-0115 Fax: (410) 614-9979
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Stamper, Steve: "Anaconda/RHAS question"

    Relevant Pages

    • Re: Upgrade procedure/advice: boot sector (with update)
      ... you should have a working grub configuration. ... >> modify your current grub.conf to boot the system you copied to hdb. ... > decided to just try to install the upgrade on the second disk. ...
      (Fedora)
    • Re: REQ: Newbie Qustion Re: Hard Drives, etc...
      ... I use a floppy to boot into RH9. ... If you don't have fdisk, try a "man -k fdisk" to see ... You can now boot with the FC install ...
      (comp.os.linux.misc)
    • Re: REQ: Newbie Qustion Re: Hard Drives, etc...
      ... I use a floppy to boot into RH9. ... If you don't have fdisk, try a "man -k fdisk" to see ... When the installer comes up with a list of drives to install into, ...
      (comp.os.linux.misc)
    • RE: boot hdb?
      ... > want to make hdb the primary installation and boot off of it. ... Boot into grub on your current hda and then install grub onto hdb's ...
      (RedHat)
    • Re: Help with GRUB
      ... > hda suse 9.3 ... The boot system and the file system ... hdb is SuSE 9.1 ... So now you want to install SUSE 10. ...
      (alt.os.linux.suse)