Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have FC4 and Windows XP installed on my system.
I use GRUB as bootloader
recently i had to format an ext3 partition to fat32 so that i can get that space for use in windows. i formatted the ext3 to fat32 in windowsXP using Acronis Partition Manager.
from then on whenever i reboot my system i get the
i am able to successfully boot into WINDOWS and LINUX by entering the above command's. I think the problem occured while changing the partition and boot partition has changed from other than (hd0,7). please do help me in what changes i should be making
you need to change the splashimage reference to hd(0,8) too. see how far you get after that, cos it is still looking in the right location for the stage 2 image, so shouldn't be too far wrong.
consider changing root=LABEL=/ to root=dev/hda9 as maybe the partition label was lost due to a bad partition info write by your partition manager. I've also noticed that some partition managers will name a new partition as if it were at the end of the partition list causing a shift in partition names, although I'm not sure how this would affect you in this case.
When you set up to boot "by hand", before you do the "boot," try an "setup" (see below) to re-write the boot image so it points to (hd8,0) for the stage 1 stuff.
Perhaps a better suggestion: Build a GRUB boot floppy, and get it to work first. Here's a "quickie" on building a GRUB boot floppy:
1) Boot the rescue CD (or just do your "by hand" boot and start a su session)
2) Place a blank floppy in your floppy drive
3) If the floppy was automatically mounted, unmount it. (e.g., # umount /media/floppy)
Enter the following to format the floppy and install GRUB on it:
Code:
# mke2fs /dev/fd0 (Note: You could, instead, use mkfs -t fat to create a MS-DOS readable (and editable) floppy.)
# mount /media/floppy
# mkdir /media/floppy/boot
# mkdir /media/floppy/boot/grub
# cp /boot/grub/stage1 /media/floppy/boot/grub/stage1
# cp /boot/grub/stage2 /media/floppy/boot/grub/stage2
# grub
# grub> root (fd0)
# grub> setup (fd0)
# grub> quit
Then you can edit the /media/floppy/boot/grub/grub.conf untill you get it to work. Then copy that back to the /boot/grub/grub.conf file in your HD, and do the
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728
Rep:
Try what PTrenholme suggest, I think it is the solution.
You should be aware that grub can be configed to use any file as the configuration file, not only grub.conf
You can boot you computer that mean you grub is OK.
But it ask you to enter the command manually mean it can't file the configuration file
see the output of info grub for more information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.