On Fri, Jan 10, 2003 at 09:54:53PM -0500, Smitty wrote:
> On Friday 10 January 2003 20:42, you wrote:
> > Is it possible to have dual boot system using two
> > different drives instead of both OS's on the same?
>
> Ian Blenke gave this info in a thread several monthes back using a logical 
> configuration.  You can also do it with a Trios switch or a Nicklock switch 
> as hardware solutions.  
> Smitty
Simply put, you need to:
        1. Put your Windows drive in as master on the first bus (/dev/hda)
        2. Put your Linux drive in as master on the second bus (/dev/hdc)
        3. Boot from a Rescue floppy or CDROM (ie, RedHat "linux rescue")
        4. Mount your root filesystems somewhere:
           (you may need to mount /usr as well if your rescue doesn't
           have chroot)
                # mkdir /tmp/target
                # mount /dev/hdb3 /tmp/target
           If you don't have chroot on your rescue disk:
                # mount /dev/hdb4 /tmp/target/usr
                # PATH=/tmp/target/usr/sbin:$PATH
        
           Either way:
                # chroot /tmp/target
        5. Edit your /etc/fstab file inside the chrooted shell:
                # vi /etc/fstab
        
           Change all filesystem references from /dev/hda to /dev/hdc, ie:
                   /dev/hdc1	/boot	ext3	defaults	0 0
                   /dev/hdc3	/	ext3	defaults	0 0
                   /dev/hdc4	/usr	ext3	defaults	0 0
                ...
           and so on.
        
        6. Do the same for your bootloader.
           For lilo:
                # vi /etc/lilo
                Change the line for your linux image "root=" option, and
                add an other= section for your dos partition:
                        boot=/dev/hda
                        root=/dev/hdc3
                        image=/vmlinuz
                                label=Linux
                                read-only
                        other=/dev/hda1
                                label=dos
                Then re-run lilo, and make SURE it doesn't give you any
                errors. You can use multiple -v flags for debugging, ie:
                # lilo -v
           For grub:
                   # mount /boot
                # vi /boot/grub/menu.lst
                   # umount /boot
              Follow the below grub HOWTO. (Note: you do not need to
           re-install grub, merely edit the menu.lst file).
>From a quick google, here's a HOWTO for grub:
        http://www.andrewsenior.com/linux/grub.html
and here's a mini-howto for RedHat and lilo that may help you:
        http://www.linux.org/docs/ldp/howto/mini/Hard-Disk-Upgrade/
Also, check TLDP (the Linux Documentation Project, aka LDP)
        http://www.tldp.org/HOWTO/HOWTO-INDEX/os.html#OSBOOT
I haven't found a HOWTO that addresses your specific problem.. and it's
a common one. That bothers me.
Anyone familiar with the process of submitting new HOWTO content to LDP?
- Ian
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:17:08 EDT