Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
how do I restore the 'full' grub menu
how do I restore the 'full' grub menu
Hi,
I have a puzzle of a problem. Upon booting, the existing grub menu shows the Debian OS, but I also have Ubuntu installed on the same hard disk. It does not show in the menu. Previously I had Debian, Ubuntu, and Mint. In Ubuntu config file (menu.lst) I wanted to delete Mint and an old Ubuntu. I did so. In doing this I must have removed the 'full' menu.lst,leaving only Debian. So now I cannot boot into the new Ubuntu. I presently have only two OS on the hard disk:
Debian and Ubuntu. I cant see Ubuntu, How do I correct this problem?
I have a puzzle of a problem. Upon booting, the existing grub menu shows the Debian OS, but I also have Ubuntu installed on the same hard disk. It does not show in the menu. Previously I had Debian, Ubuntu, and Mint. In Ubuntu config file (menu.lst) I wanted to delete Mint and an old Ubuntu. I did so. In doing this I must have removed the 'full' menu.lst,leaving only Debian. So now I cannot boot into the new Ubuntu. I presently have only two OS on the hard disk:
Debian and Ubuntu. I cant see Ubuntu, How do I correct this problem?
ForeverBeginsNow
Re: how do I restore the 'full' grub menu
Have you upgraded to grub2 (grub-pc)? For most of us, it came in a dist-upgrade. The reason I ask is that menu.lst doesn't exist in grub2. If you now have grub2, try running "update-grub".
Re: how do I restore the 'full' grub menu
So now how do I remove old entrys in the boot menu? Tha grub.cfg file says not to edit that file.
ForeverBeginsNow
Re: how do I restore the 'full' grub menu
What I do is remove the linux-image I don't want then run update-grub again.kaykav wrote:So now how do I remove old entrys in the boot menu? Tha grub.cfg file says not to edit that file.
Code: Select all
# aptitude remove linux-image-x.xx (replace the x's with the specific linux-image to be removed
debian sid
- Robin T Cox
- Posts: 29
- Joined: 2008-08-17 13:44
Re: how do I restore the 'full' grub menu
kaykav - You need to install and run os-prober, which will then update your boot menu automatically.
-
- Posts: 114
- Joined: 2009-03-04 18:02
- Location: British Columbia
Re: how do I restore the 'full' grub menu
I am multi-booting with nine distros.
With a grub2 bootloader , I found a somewhat round-about way to set up a complete boot list.
There is a file in grub2 - /etc/grub.d/40_custom - which is initially empty except for a few comment lines.
If you copy all the menuentry paragraphs from - /boot/grub/grub.cfg - (which file is read only) into ' 40_custom ' and then edit them there as you wish. Next you remove the exec flags from the files - /etc/grub.d/20_os-prober (and) /etc/grub.d/30_memtest86+ - this way - -
Terminal (Root)
cd /etc/grub.d
chmod a-x 20_os-prober
chmod a-x 30_memtest86+
Now run update-grub.
The 20_os-prober and 30_memtest86+ will not set up a boot list , but your menuentry s in 40_custom will create a bootloader list.
With a grub2 bootloader , I found a somewhat round-about way to set up a complete boot list.
There is a file in grub2 - /etc/grub.d/40_custom - which is initially empty except for a few comment lines.
If you copy all the menuentry paragraphs from - /boot/grub/grub.cfg - (which file is read only) into ' 40_custom ' and then edit them there as you wish. Next you remove the exec flags from the files - /etc/grub.d/20_os-prober (and) /etc/grub.d/30_memtest86+ - this way - -
Terminal (Root)
cd /etc/grub.d
chmod a-x 20_os-prober
chmod a-x 30_memtest86+
Now run update-grub.
The 20_os-prober and 30_memtest86+ will not set up a boot list , but your menuentry s in 40_custom will create a bootloader list.
Re: how do I restore the 'full' grub menu
Well this can get interesting. ok i'll try it. i'll get back to you.....
ForeverBeginsNow
Re: how do I restore the 'full' grub menu
Nine? Is that all? You definitely have too much time on your hands...StanTheMan wrote:I am multi-booting with nine distros.
Re: how do I restore the 'full' grub menu
you start by running os-prober to see if it recognizes the other install, then you go from therekaykav wrote: How do I correct this problem?
-
- Posts: 114
- Joined: 2009-03-04 18:02
- Location: British Columbia
Re: how do I restore the 'full' grub menu
If you are using Debian Lenny as bootloaer , it runs on ext3 , and I don't think it will mount an ext4 partition
My bootloader distro is an ext4 format and it WILL mount ext3 partitiopns,as well as NTFS partitions.
My bootloader distro is an ext4 format and it WILL mount ext3 partitiopns,as well as NTFS partitions.
- Absent Minded
- Posts: 3464
- Joined: 2006-07-09 08:50
- Location: Washington State U.S.A.
- Been thanked: 3 times
Re: how do I restore the 'full' grub menu
This isn't completely true. There are things that one can do to boot using Grub-leagacy in Debian Lenny to an ext4 partition. If you get the kernel from backports Lenny will recognize the ext4 partitions. Then you just need to pass a switch in Grub that makes it recignize ext4 as ext4 and not ext3. I have seen Dean post about it. Unfortunantly, I can't remember the switch but it is not difficult.StanTheMan wrote:If you are using Debian Lenny as bootloaer , it runs on ext3 , and I don't think it will mount an ext4 partition
My bootloader distro is an ext4 format and it WILL mount ext3 partitiopns,as well as NTFS partitions.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
Re: how do I restore the 'full' grub menu
All in all,if I have to I'll just insert the CD and reinstall grub that way. All this configuring is good practice,but in this case not entirely necessary. Good thoughts...........thanks
ForeverBeginsNow
- Absent Minded
- Posts: 3464
- Joined: 2006-07-09 08:50
- Location: Washington State U.S.A.
- Been thanked: 3 times
Re: how do I restore the 'full' grub menu
Okay, looked through a thread or two and found the switch needed for Grub-leagacy to make it boot to an ext4 partition:
Code: Select all
rootfstype=ext4
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012