"Brian L. Johnson" 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. > > Then, cd to the base mount point of your Linux system, and run this: > chroot ./ /bin/bash > This will put you in a chroot environment in your system, and you can > run /sbin/lilo (note that since you are in a chroot environment, it is > /sbin/lilo, not /mnt/sbin/lilo). > > Then press ctrl+d to exit the chroot, cd to /, umount the partitions, > and reboot without the toms disk and you should be now booting your > Linux system on hdb, and you will not have to switch any cables to > multi-boot. > > -=Brian L. Johnson, www.blj8.com=- > Total Bookmarks in file= 8643 > --------------------------------- > For PGP key email to: pgpkey@xxxxxxxx > For Geekcode email to: geekcode@xxxxxxxx I thought I tried chroot before but it didn't work quite right. Well, I'll try again and let you know. Thanks for the info. -- 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 =============================================================