How to install GRUB only from Ubuntu 10.04 Live CD
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.
How to install GRUB only from Ubuntu 10.04 Live CD
My GRUB2 has been corrupted after booting into Windows7. I am not able to install the legacy GRUB from Ubuntu 8.04 Live CD becoz the current file system is Ext4.
How to install GRUB2 only from the Ubuntu 10.04 live CD? Will this make me able to boot both windows and linux?
I have only one hard drive and Linux is in sda8.
I'm probably living in the past, but this is why I boot using legacy grub installed to a FAT32 partition outside any OS. It's easy to manipulate menu.lst from anywhere, and an OS re-install doesn't foul up the boot files.
Of course, the MBR can get overwritten, but that's why I keep a live CD linux image in the 1st partition of another drive (in a FAT32 partition) that can be booted direct from BIOS and used to fix grub or most anything else.
I could have used a normal install there (on the 2nd drive) but then I couldn't manipulate _that_ menu.lst from any OS.
There's got to be a better - and safer - way to skin this cat with grub2, but I haven't found it yet...
I believe this option does not apply to 10.4.1. There is no boot option in the installation process. I am working on a way to install grub2 in root partition.
I am working on a way to install grub2 in root partition.
grub-install will allow you to install into a partition, but issues warning messages. grub2 uses a block list (along the lines of lilo) and this may become invalid in a partition.
Works o.k. for me on the systems I have done it on.
The block list forcing a rerun of the lilo command all the time was why I gave up on lilo. grub2 isn't quite as bad.
I'm probably living in the past, but this is why I boot using legacy grub installed to a FAT32 partition outside any OS. It's easy to manipulate menu.lst from anywhere, and an OS re-install doesn't foul up the boot files.
Of course, the MBR can get overwritten, but that's why I keep a live CD linux image in the 1st partition of another drive (in a FAT32 partition) that can be booted direct from BIOS and used to fix grub or most anything else.
I could have used a normal install there (on the 2nd drive) but then I couldn't manipulate _that_ menu.lst from any OS.
There's got to be a better - and safer - way to skin this cat with grub2, but I haven't found it yet...
Z.
I too use grub legacy. I find grub2 very confusingly complex.
grub-install will allow you to install into a partition, but issues warning messages. grub2 uses a block list (along the lines of lilo) and this may become invalid in a partition.
Works o.k. for me on the systems I have done it on.
The block list forcing a rerun of the lilo command all the time was why I gave up on lilo. grub2 isn't quite as bad.
As you know from my past posts I used to be an old grub legacy booster. I decided it was time to jump into grub2 and it is giving me fits. I am having a hard time forgetting old ways. I just forced grub2 into a partition and was proud that it worked once on restart but failed a second time. Have to do more work today.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.