John Madden wrote: > > On Tue, 12 Jun 2001, you wrote: > > On Jun 12, James Gosnell threw electrons at linux-discussion@xxxxxxxxxxxxx: > > > > >I have linux and lilo on hda and Windows on hdb. As of right now, I have > > >to switch between ide cables if I need to boot to windows. Is there any > > >way in lilo that I can have it boot up windows on hdb? Thanks > > > > Well, Linux can easily boot from hdb, so why not switch the cables and > > keep them that way? The only files in Linux you would have to change are > > /etc/fstab and /etc/lilo.conf (and re-run lilo). > > > > What you can do is get a Linux bootdisk, such as Tomsrtbt > > (http://toms.net/rb), and after you switch the IDE cables, boot the > > system with the toms disk, mount the partition containing /etc and vi > > the aforementioned files. > > You could do this without the intervention of a boot disk though... > > Modify your fstab with the system running, then change the "boot" param in > lilo.conf: > > boot = /dev/hdb > > That'll put the MBR on the "now" hdb. Then when you power off and switch the > disks, it'll be hda, and everything should be cool. You might want to change > lilo.conf back to boot = /dev/hda just for record keeping or whatever. > > John > > -- > John Madden > UNIX Systems Engineer > Ivy Tech State College > jmadden@xxxxxxxxxxxxx thanks -- James Gosnell __________________________________ Goodwill Industries of Michiana IT jgosnell@xxxxxxxxxxxxxxx 219-234-1661 x678 ============================================================= Avenir Web's Linux Discussion List List info: //www.freelists.org/cgi-bin/webpage?webpage_id=13 To unsubscribe: email linux-discussion-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject line. Administrative contact: weez@xxxxxxxxxxxxx =============================================================