- Joined
- Feb 18, 2002
Each time I booted off of an Ubuntu flash drive, I had to re-download the Repositories and so I asked people how can I include them as part of a flash drive boot, so I can use the flash drive anywhere. After a long time of trying to unsuccessfully figure out how to do this, finally someone suggested I install Ubuntu from one flash drive to another.
[RANT]I couldn't understand why this wouldn't immediately occur to everyone half-way familiar with Linux from the get go but anyway.... [/RANT] So now I finally get around to doing it and even though I installed Ubuntu from one flash drive to another, Windows won't load unless the flash drive is in.
I reimaged my hard drive only to find out the hard way that Linux actually FUBARS your Master Boot Record which cannot be fixed even if you reimage your entire hard drive back. I fix the thing by booting with a Windows 98 boot floppy then FDISK/MBR but there really should be a warning when installing Linux that this is going to happen.
But why is Linux messing with my hard drives when I am not installing Linux on any of them is what I don't understand!?
Next I'll try physically disconnecting all hard drives and repeating the process in hopes that the flash drive by itself will contain all that is necessary to boot off of it since Linux will be prevented from accessing anything but the flash drives.
I also wanted to drive image the flash drive once I install Linux on it, can this be done inside Windows?
[RANT]Also found out the hard way that all recent versions of Norton Ghost of course cannot image flash drives no matter what is on them - only hard drives [why!?! %[email protected]#!] [/RANT]
So can I drive image my Linux install on a flash drive from Windows and if so how?
EDIT EDIT EDIT EDIT
http://www.runtime.org/driveimage-xml.htm
DriveImage XML will image flash drives.
Double click on Setup.exe to install the program.
Created images can only be restored to Flash Drives which have the same or larger size as the original drive regardless of how big the actual content of the image was.
You may get the following error message, but the program was tested to work correctly if you simply select to Continue:
Could not initialize Windows Volume Shadow Service (VSS).
Code: ERROR 8004230C.
Make sure VSSVC.EXE is running in your task manager.
Click Help for more information.
Volume could not be properly locked.
You can still continue but the backup image might be damaged.
Also:
[RANT]I couldn't understand why this wouldn't immediately occur to everyone half-way familiar with Linux from the get go but anyway.... [/RANT] So now I finally get around to doing it and even though I installed Ubuntu from one flash drive to another, Windows won't load unless the flash drive is in.
I reimaged my hard drive only to find out the hard way that Linux actually FUBARS your Master Boot Record which cannot be fixed even if you reimage your entire hard drive back. I fix the thing by booting with a Windows 98 boot floppy then FDISK/MBR but there really should be a warning when installing Linux that this is going to happen.
But why is Linux messing with my hard drives when I am not installing Linux on any of them is what I don't understand!?
Next I'll try physically disconnecting all hard drives and repeating the process in hopes that the flash drive by itself will contain all that is necessary to boot off of it since Linux will be prevented from accessing anything but the flash drives.
I also wanted to drive image the flash drive once I install Linux on it, can this be done inside Windows?
[RANT]Also found out the hard way that all recent versions of Norton Ghost of course cannot image flash drives no matter what is on them - only hard drives [why!?! %[email protected]#!] [/RANT]
So can I drive image my Linux install on a flash drive from Windows and if so how?
EDIT EDIT EDIT EDIT
http://www.runtime.org/driveimage-xml.htm
DriveImage XML will image flash drives.
Double click on Setup.exe to install the program.
Created images can only be restored to Flash Drives which have the same or larger size as the original drive regardless of how big the actual content of the image was.
You may get the following error message, but the program was tested to work correctly if you simply select to Continue:
Could not initialize Windows Volume Shadow Service (VSS).
Code: ERROR 8004230C.
Make sure VSSVC.EXE is running in your task manager.
Click Help for more information.
Volume could not be properly locked.
You can still continue but the backup image might be damaged.
Also:
Here is what actually happened, there are two parts to the bootloader. The first part is the GRUB loader that gets written to the MBR. The second part consists of the binary modules, configuration, etc. needed to boot your operating systems. The second portion usually is stored in the /boot folder of the partition you install to. Now the GRUB loader is told where to look for this GRUB folder, and if it can't find it (USB drive is removed), you won't be able to boot. These two components can and often are written to different drives.
The real issue is what I consider a user-interface bug in the Ubuntu installer. Instead of explicitly prompting the user regarding where the boot loader should be installed, it usually assumes /dev/sda (first bios drive) and gives you the option on a drop-down menu that is easy to skip through. So you do have the ability to tell Ubuntu where to put the boot loader, it's just easy to miss it. Also there was a bug with previous versions where even if you told it where to install the bootloader, it would still install on /dev/sda. Perhaps this is what you encountered.
[...]While the Ubuntu installer will overwrite the MBR, it will install a boot-loader that handles switching between Windows and Linux with aplomb. The problem c627627 had only occurred because he was installing to a removable USB drive.
Last edited: