LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PepperMintGrub Problem (https://www.linuxquestions.org/questions/linux-newbie-8/peppermintgrub-problem-4175447275/)

joy_deep 01-26-2013 01:24 AM

PepperMintGrub Problem
 
Hello All,

I have a laptop Compaq Presario having 256MB of RAM and 120 GB of HDD. It has got WIN XP.
Now I installed PepperMint linux into it with Netbootin to Hard disk.
After installation, my Grub menu has got only Memory Test and Windows XP, but no Peppermint Linux. Now how do I retrieve/add Peppermint Linux to Grub menu? I am totally clueless here.
Please help.

Thanks.

joy_deep 01-26-2013 04:26 AM

Here is boot info :

http://paste.ubuntu.com/1572252/

Thanks!

yancek 01-26-2013 10:13 AM

What's on sda7? Previous Linux installation? Separate /boot partition? Your bootinfoscript indicates Grub2 is installed in the master boot record and points to sda9 to find grub.cfg. The grub.cfg file shows an entry for Peppermint. If you scroll up, you will see another grub.cfg file on sda7 which has no entry for Peppermint but does have windows and memtest entries so this is apparently the menu you are seeing. Doesn't make much sense.

What is on sda7 and why are there boot files there? Did you create a separate /boot partition? Note that sda9 shows a boot directory and sda7 does not. Might be easier to reinstall. Not knowing what sda7 is, I don't have any other suggestion.

joy_deep 01-26-2013 10:52 AM

Yes I tried to reinstall Linux again. Previous I instaleed in sda7. But I could not not boot linux as the grub always said "Out of space". Then I created a separate /boot in first 1000 MB of disk and re-installed Peppermint. Now I got the grub menu but it had only Memory test and Win XP. I installed boot repair and ran it. Now I get still "out of Space" error.
Do you suggest I should delete /dev/sda7?

Thanks!

yancek 01-28-2013 08:30 PM

The bootinfoscript shows Gru2 installed to the mbr and pointing to sda9 where you have one of your Peppermint installs. It has an entry for Peppermint. Your sda7 also has a grub.cfg file which does NOT show an entry for Peppermint but does show memtest and windows entries. I don't know why you would be seeing that. You could try reinstalling Grub2 pointing to sda9 from the Peppermint CD. If you boot it up and open a terminal type the following commands consecutively, hit the Enter key after each command:

Quote:

sudo mkdir /mnt/sda9
sudo mount -t ext4 /dev/sda9 /mnt/sda9
sudo grub-install --root-directory=/mnt/sda9 /dev/sda
Have you made any changes since you posted the bootinfoscript?


All times are GMT -5. The time now is 08:48 PM.