[SOLVED] HELP!! Major Ubuntu problem error 21 when booting!!!!!!!!!!!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HELP!! Major Ubuntu problem error 21 when booting!!!!!!!!!!!
Hi,
I am REALLY new to linux so please be 'basic' with me...
okay, this is the problem:
I have a windows vista and windows 7 rc1 32bit dual boot on my laptops hard drive, each on a separate partition. I tried to install ubuntu 9.04 on my 500gb portable external hard drive and all went well. It installed fine but it seems to have moved the boot loader or something onto the portable hd because i can only boot if the portable hd is plugged in. If it isn't it says
"something something something" 1.5
"error 22"
All i want to do is get rid of ubuntu and be back to the normal dual boot. Is that possible to do easily?
That would be great if you can tell me how to get rid of it!!!
Thanks,
Ratman
Last edited by ratman1; 10-16-2009 at 04:15 AM.
Reason: clarity
I take it you have never had ubuntu on the internal drive?
In which case, you only really need to use windows fixboot without the external drive pugged in.
You should be able to make the external drive bootable again from the live disk by making sure that the grub bootloader is installed (IIRC) to the external drive mbr, not the internal.
Thats right. By default, Ubuntu has installed the Grub on the mbr of the drive where Ubuntu resides. You will need to reinstall grub on the internal drive.
Connect the external drive, boot Ubuntu, and type
sudo grub-install /dev/sda Assuming sda is your internal drive. After this you may need to change the menu.lst file.
If you want to get it to boot back to windows and forget ubuntu for now just unplug your external hd and boot a windows disk to repair the mbr. If this is not an option then there are places to download windows boot repair.
I recommend Super Grub for a start then you will be able to repair your boot with windows and then if you want to boot your external drive you can use the Super Grub disk to boot.
btw my bios can boot usb devices i think. I have run ubuntu 9.04 persistently from a thumb drive by setting the boot order in my bios. I put usb key/drive above notebook hard drive and it went to my thumb drive.
I put usb key/drive above notebook hard drive and it went to my thumb drive.
That may be part of your problem, try and change the boot order back to your hd booting first if you can before making any changes.
If you are interested there is a way to have windows boot when your external hd is unplugged and then when you plug in your external hd grub will boot all but you have so much going now I will not get into that now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.