• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Linux boot thingy

VectraMan

Lord of the Vectras
Joined
Dec 28, 2005
Messages
11,460
Likes received
1,218
Thanks received
233
Location
European Union (Yorkshire)
I have a spare USB hard disk (i.e. a real disk, not a stick) and decided at the weekend to install Linux on it to play with. I used xubuntu CD, and selected the USB drive to install onto, expecting that I could then choose boot from USB from my BIOS menu to boot Linux, and the normal Windows boot would be untouched.

After the install, choose boot from USB, and nothing.:mad: Went back to boot from Windows and I now have the Linux boot menu. So it appears it's installed something to my primary hard disk without me asking it to.:mad:

It gets worse. This morning I turned on the PC, and it wouldn't boot at all giving an error number. But the USB drive wasn't switched on, switched it on, reboot, and fine get the boot menu.

So it seems Linux "clever" setup has installed something on my primary hard disk that loads its own loader from the USB disk so that my computer now won't boot at all unless the USB hard disk is connected.:mad:

I miss Microsoft.;)

I'm about to rebuild this system with new hard disks, so it's not too much of a problem, but I'd like to understand: why did it get me into this mess and how do I get out of it?
 
Why do people still waste time with Linux?

It was pants 10 years ago and is utter pants now.

Format and put Windows 7 on it.
 
Why do people still waste time with Linux?

It was pants 10 years ago and is utter pants now.

Format and put Windows 7 on it.

I suppose there are a lot of very dim Windows users out there ready to be exploited.
 
Why do people still waste time with Linux?

This machine sits there being a subVersion and file server, and to run various VirtualBox VMs for testing and building, and I'm wondering if it'd be better running that on "lightweight" Linux rather than on top a Windows install. It's XP now, and with anti-virus, backup and other crap it's all grinding to a halt, and of course that kills the VMs running on there too.

Windows 7 will be going on my laptop (which is what I actually use day to day), and this desktop will get a native XP install too for when VMs aren't good enough.

Plus half the C++ jobs I see seem to be for Linux these days, so it wouldn't hurt me to learn something about it.

There are some merits to it IMO, but it still has a terrifying file system and most things require bewildering command line fettling, and I certainly wouldn't suggest Linux to any non-techy user.
 
I have a spare USB hard disk (i.e. a real disk, not a stick) and decided at the weekend to install Linux on it to play with. I used xubuntu CD, and selected the USB drive to install onto, expecting that I could then choose boot from USB from my BIOS menu to boot Linux, and the normal Windows boot would be untouched.

After the install, choose boot from USB, and nothing.:mad: Went back to boot from Windows and I now have the Linux boot menu. So it appears it's installed something to my primary hard disk without me asking it to.:mad:

It gets worse. This morning I turned on the PC, and it wouldn't boot at all giving an error number. But the USB drive wasn't switched on, switched it on, reboot, and fine get the boot menu.

So it seems Linux "clever" setup has installed something on my primary hard disk that loads its own loader from the USB disk so that my computer now won't boot at all unless the USB hard disk is connected.:mad:

I miss Microsoft.;)

I'm about to rebuild this system with new hard disks, so it's not too much of a problem, but I'd like to understand: why did it get me into this mess and how do I get out of it?


It sounds like you missed a config option during the install telling it to use the USB drive as it's primary drive instead of the local hardrive. As a result it put the boot loader on the local hard drive and throws an error when it looks for it's expcted bootable drives and doesnt find them all.

To do what you want to do you need to rebuild it so that the boot loader is not used and the Linux install sees the USB drive at it's primary drive.
 
I'm going back some years now but when I was running a dual boot Winders/Linux system I put the Linux boot loader (LILO?) onto a floppy, Windows on C: and Linux on D:

Insert floppy and it booted to Linux, disengage floppy and it booted to Winders.

You should be able to work out a similar scheme with your USB drive.
 
I have a spare USB hard disk (i.e. a real disk, not a stick) and decided at the weekend to install Linux on it to play with. I used xubuntu CD, and selected the USB drive to install onto, expecting that I could then choose boot from USB from my BIOS menu to boot Linux, and the normal Windows boot would be untouched.

After the install, choose boot from USB, and nothing.:mad: Went back to boot from Windows and I now have the Linux boot menu. So it appears it's installed something to my primary hard disk without me asking it to.:mad:

It gets worse. This morning I turned on the PC, and it wouldn't boot at all giving an error number. But the USB drive wasn't switched on, switched it on, reboot, and fine get the boot menu.

So it seems Linux "clever" setup has installed something on my primary hard disk that loads its own loader from the USB disk so that my computer now won't boot at all unless the USB hard disk is connected.:mad:

I miss Microsoft.;)

I'm about to rebuild this system with new hard disks, so it's not too much of a problem, but I'd like to understand: why did it get me into this mess and how do I get out of it?

Run the fdisk tool on Linux and change the MBR from the USB drive to the Windows one and see if that makes any difference. I suspect that the Linux OS has changed the MBR pointer from the primary disk to the USB Book disk.
 
Most distro now use GRUB. Various Linux related info can be found at The Linux Documentation Project. Here is some friendly GRUB documentation.

Thanks, GRUB came a bit later. I'll add that a distinct advantage of my floppy based solution was that reboots would go to the correct system without needing to select from a boot menu (and cursing when you let it time out). I see no reason why you couldn't do similar with a USB stick.
 
Run the fdisk tool on Linux and change the MBR from the USB drive to the Windows one and see if that makes any difference. I suspect that the Linux OS has changed the MBR pointer from the primary disk to the USB Book disk.

That sounds horribly like it might break everything.

Thanks for the replies. I don't recall any other options in the install, but I probably wasn't paying enough attention.
 

Advertisers

Back
Top