Linux on a Removable Drive
#1
Posted 22 August 2004 - 09:50 PM
I'm running a laptop with a removable bay that I plan on putting a hard drive into to dual boot Linux from. I know that GRUB config files are loaded onto the Linux disk, and if I remove the drive, then the computer won't boot correctly. I haven't installed Linux yet (damn backordered HDD's!), but want to figure out all the little problems before I load it.
I don't have a floppy drive, so No, I cannot make a GRUB floppy.
Any help would be nice, but if there is no easy fix. I would have no problem keeping the drive in at all times.... But I really would like to use my extra battery.
I plan on installing Fedora Core 2 if you're wondering.
#2
Posted 22 August 2004 - 11:13 PM
#3
Posted 22 August 2004 - 11:21 PM
#4
Posted 23 August 2004 - 01:54 AM
If you use the NT bootloader, just do not pick the Linux option unless the drive is in the bay.
#5
Posted 23 August 2004 - 04:24 AM
One problem though... Fedora doesn't come with LILO... it uses GRUB so the changes would be different.
#6
Posted 23 August 2004 - 05:57 AM
#7
Posted 23 August 2004 - 12:22 PM
If your bios allows booting from a secondary drive, yes, this should work. Just make sure that you choose the correct designation for the second drive when installing lilo.
Before doing anything, I would try a live cd based distro like Knoppix to see what the system sees the second drive as, once it is in the system. If you are lucky, it should see it as hdb. Of course, it would need to be formatted first to be seen.
I just thought of a possible catch. Is your XP system using NTFS or a fat32 filesystem? The referenced article doesn't mention this as a possible issue, of course, it is an old article.
#8
Posted 24 August 2004 - 12:18 AM
It is NTFS, which means that I can't change XP files blah blah blah, so that link won't work.
#9
Posted 24 August 2004 - 01:40 AM
If you would like, I will post it on my website later this week.
Essentually what you do is make the bootsect.lnx file and copy it to a floppy. Then when in XP, copy it to the C: drive (which is usually the boot drive). I altered it a little so that I can boot XP, or go into lilo and boot any of my three distros on my test box.
#10
Posted 24 August 2004 - 03:43 AM
I don't have a floppy drive.
EDIT: But when I think about it again, I'm starting to think about addind a ~5 gig partition on my main drive so I could jockey my files through that I guess.
#11
Posted 24 August 2004 - 04:49 AM
Use partition magic to shrink the WinXP partition 120MB and move it 'down' that same 120MB.
If there's an OEM partition ahead of the WinXP partition, then leave that one alone
and create the /boot partition in between the OEM and WinXP partitions.
With that done, use Grub and go ahead and install it in the MBR of the primary drive,
since you'll now always have /boot/grub around to direct your OS loading.

Help










