Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
First all your partitions are large enough to setup a 20 meg partition with no problems. To be on the safe side we should add the partition to sdb3 if you are now booting sda. Use your Gparted and make a new partition from sdb3.
Something to think about for the future is using one partition for / and one for /home,
and one for swap on larger distros. I noticed you have two swap partitions, you should only need one.I make / partition approx 12 gig and 10 for /home on larger distos then the 245 gig left I use for storing all my data which then is available to each one of my distros. I have limited myself to booting eight at present and four of them get ignored most of the time. I allowed for two smaller distros which each one is on 2 gig partiton.
menuentry "Windows" {
set root=(hd0,1)
chainloader +1
}
#Now save as grub.cfg and exit nano.
#Now we will see if everything works so far.
sudo rmdir /mnt/sdb3
sudo umount /dev/sdb3
#reboot and set sdb to be first boot in bios. If your windows #selection comes up it should #boot in 12 seconds or if you mouse #click it should start booting.
#If there are any problems just put sda to boot first in bios again.
Last edited by Larry Webb; 08-29-2011 at 07:23 AM.
Normally there will be a root directory so we would not have to make one but we have not made a directory in the grub partition yet.There is not a directory at all.
I need to create a directory there correct.
sudo mkdir /mnt/sdb3 This is a directory used to mount the sdb3 partition.(may be named anything that you can remember, I used sdb3 because it is easy to remember.
sudo mount /dev/sdb3 /mnt/sdb3 This mounts the dir /mnt/sdb3 to /dev/sdb3.
sudo grub-install --root-directory=/mnt/sdb3 /dev/sdb This tells it to install grubs root directory to /mnt/sdb3 and write the master boot record of sdb.
After this operation the only file you will need to create is your grub.cfg.
Last edited by Larry Webb; 08-29-2011 at 07:03 PM.
I think not mounting them to an Installed O.S was the issue but a rescue disk should not have to.
Various errors of not doing simple things they should. I made the wrong directory and made a menu.lst and they would not remove it.Gave up and used Knoppix.
Knoppix did it but listed errors. I does not work though. It hangs at a blank screen.
Last edited by theKbStockpiler; 08-30-2011 at 11:34 AM.
Your distros all use grub legacy (1) not grub2. You will need to get a later version of ubuntu or say Linux Mint for grub2 or we can use grub legacy. The install directions are different.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.