T'Krin's Realm

My yammerings…

Friday, August 20, 2004

Dual booting Linux and Windows using LILO

with a slight twist. In preperation for CTCon5 WTF, I decided to setup a windows install on my Linux only laptop.

I installed windows to a spare drive in a spare laptop. I then transfered that the drive to a modular bay caddy and put it in my laptop. The typical dual boot setup is to have the Windows install be on /dev/hda or /dev/sda, but in my case it will be /dev/hdc.

I use LILO, version 22.5.9, as my boot loader. I have used GRUB but LILO has always worked so I stick with it. To get this particular setup working, the system needs to be ‘faked out’ to think that /dev/hdc is the primary boot device, /dev/hda. This can be done using the boot-as option in /etc/lilo.conf. This results in a section for the Windows installs as follows:



other = /dev/hdc1

table = /dev/hdc

label = windows

boot-as=0x80

In my case the LILO boot loader is installed on /dev/hda, which is typical, therefore, the boot-as option must specify the BIOS device code for that hard drive, in my case 0×80.

With that entry in /etc/lilo.conf you run the /sbin/lilo command to commit the changes. From now on you can now boot the Windows install that is on the removeable hard drive. Bada bing, bada bang. :)

posted by tkrin at 9:35 PM  

Thursday, August 12, 2004

CTCon 5 WTF

WoooHooo

It’s just a couple weeks away now. It’s always a blast, even though I’m not a 1337 gamer! The NMP guys rock. :-D

posted by tkrin at 6:51 AM  

Sunday, August 8, 2004

Installed the Hack Exhibit

Let’s see how this works…

posted by tkrin at 11:04 AM  

Saturday, August 7, 2004

I’m liking this WordPress application

So far this thing has been VERY easy to setup and even to change some minor things in the general look and feel. Not too many things have been easier to install by hand, IMO

posted by tkrin at 9:34 PM  

Friday, August 6, 2004

Welcome to my blog

Maybe something useful will be found here at some point?

posted by tkrin at 9:26 PM  

Powered by WordPress