Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, Installed RH7.1 on a clean system with two (small - 1st is 4gb, 2nd is 2gb) hd. Left the 1st HD blank and installed RH on 2nd - all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2003
    Posts
    39

    oops bodged dual boot ...can anyone help?


    Hi,
    Installed RH7.1 on a clean system with two (small - 1st is 4gb, 2nd is 2gb) hd. Left the 1st HD blank and installed RH on 2nd - all fine - least that's what I think i did as I can't quite remember.
    Problem is that I had to suddenly get a PC ready with W98 for a user so just whacked it on as didn't have time to read up on dual booting.
    Now I would like to get my system to dual boot without re-installing.
    If I boot with a linux boot disk, I can get to the partitioning bit and see that my first HD (hda)has a DOS partition with my linux native and swap on the 2nd HD (hdb). I thought that I could add a boot partition onto hda and job done but not sure how to do that without re-installing. Can anyone offer any pointers?
    Thanks

  2. #2
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    You'll have to install either LILO or GRUB to the MBR of the first hd. If you're not able to use the RH cd, go to this link http://www.dolda2000.com/~fredrik/ and download the GRUB boot image the the rawrite program and make a GRUB boot disk in Windows. Then do the following:

    Code:
    root (hd1,0)  (or whatever your boot partition is)
    kernel /vmlinuz-version root=/dev/hdb2 (or whatever your root partition is)

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Technically, you should also be able to use the rescue option of your RH CD. Boot from it and type "linux rescue" at the boot prompt. Then, if it detects your installation and mounts it in /mnt/sysimage, run this commands to restore LILO:
    Code:
    chroot /mnt/sysimage /sbin/lilo

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Dec 2003
    Posts
    39
    Thanks to you both, I used the 2nd method (seemed easier!) and it worked a treat.
    Thanks again
    [/i]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •