[SOLVED] [B]Can't Boot Windows Xp in a dual-boot e[/B]
UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Try this to get Ubuntu booted (temporary fix - doesn't update anything).
At the grub menu, hit the down arrow - just to stop the countdown timer. Highlight the Ubuntu line, then hit e to go into grub edit. Enter O (capital oh) to insert a line. Enter
Code:
unhide (hd0,1)
Then hit <Enter>, and b to boot the modified entry. That should boot Ubuntu for you.
These steps by sygoo should also work to get you into Ubuntu.
Quote:
Originally Posted by syg00
Try this to get Ubuntu booted (temporary fix - doesn't update anything).
At the grub menu, hit the down arrow - just to stop the countdown timer. Highlight the Ubuntu line, then hit e to go into grub edit. Enter O (capital oh) to insert a line. Enter
Code:
unhide (hd0,1)
Then hit <Enter>, and b to boot the modified entry. That should boot Ubuntu for you.
Try this to get Ubuntu booted (temporary fix - doesn't update anything).
At the grub menu, hit the down arrow - just to stop the countdown timer. Highlight the Ubuntu line, then hit e to go into grub edit. Enter O (capital oh) to insert a line. Enter
Code:
unhide (hd0,1)
Then hit <Enter>, and b to boot the modified entry. That should boot Ubuntu for you.
Everybody, if it's that difficult to repair or reinstall grub, I wouldn't mind that you just helped me have access to the NTFS partition, which now isn't recognised while running the live cd and I would copy all files from that Windows partition and the files from the other two partitions (ext3 and fat32) and reinstall both Windows XP and Ubuntu... I am desperate. Besides all important information like photos and other from the windows partitions, my father needs some important files from the it. I need to recover them quick or I'll get in trouble. I'll be waiting for your responses today.
Have tried the steps from the Ubuntu forums you linked earlier?
Try these:
1. Boot with any live CD (I've done it with Ubuntu Live DVD)
2. Get a root shell -> Applications / System Tools / Root Terminal
3. Make a folder -> mkdir /mnt/ubuntu
4. Check the Ubuntu partition -> fdisk -l (Mine is /dev/hda4)
5. Mount the root partition of Ubuntu -> mount -t ext3 /dev/hda4 /mnt/ubuntu (replace /dev/hda4 by your Ubuntu partition determined at the step 4)
6. Chroot the mounted partition -> chroot /mnt/ubuntu
7. Restore Grub / the initial MBR -> grub-install /dev/hda
8. Exit the shell
9. Reboot
Have tried the steps from the Ubuntu forums you linked earlier?
Try these:
1. Boot with any live CD (I've done it with Ubuntu Live DVD)
2. Get a root shell -> Applications / System Tools / Root Terminal
3. Make a folder -> mkdir /mnt/ubuntu
4. Check the Ubuntu partition -> fdisk -l (Mine is /dev/hda4)
5. Mount the root partition of Ubuntu -> mount -t ext3 /dev/hda4 /mnt/ubuntu (replace /dev/hda4 by your Ubuntu partition determined at the step 4)
6. Chroot the mounted partition -> chroot /mnt/ubuntu
7. Restore Grub / the initial MBR -> grub-install /dev/hda
8. Exit the shell
9. Reboot
512upload;
I'm a relative newbie myself, so I will not try to solve your immediate problem. Just thought I'd relate a super easy way to eliminate your old 7.04 images using the command line (instead of using Synaptic), which I saw on a posting by aysiu some time back. It has never let me down. Possibly it would not have caused the havoc, which using Synaptic might have done in your case. From the command line, enter:
sudo apt-get remove linux-image-2.6.20-15-386 (substitute the version(s) being removed. I've included the "-386" here, as that's what I have, you might have something else like 486 installed.
This will also remove the following line in your boot screen, which ends in "recovery mode". This will remove the old kernel from your machine. Has always worked perfectly for me. Hope you get your problem fixed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.