 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

24th November 2009, 06:50 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Posts: 6

|
|
How to add Ubuntu & Kubuntu to my boot list
Unhappy How to add Ubunut & Kubuntu to my boot list
Hi all,
I hope you can help me.
I've installed Fedora 12 but now i can not login to Ubuntu 9.10 or Kubuntu 9.10
i see in my menu list just fedora & win 7
i add ubuntu & kubuntu to menu.lst Such as the previous illustration
Quote:
Yes, but add a line in there to tell Grub where Ubuntu's root partition is. For example:
title Ubuntu 8.10, kernel 2.6.27-14-generic
root=(hd0,2) <adjust for your drive and partition numbers
uuid 38cf1a5d-849c-441e-b7df-51d5b3a1cb10
kernel /boot/vmlinuz-2.6.27-14-generic root=UUID=38cf1a5d-849c-441e-b7df-51d5b3a1cb10 ro quiet splash
initrd /boot/initrd.img-2.6.27-14-generic
quiet
now appeared but ..
When I try to enter the Ubuntu Give me Error 17 : Cannot mount selected partition
& Kubuntu Give me Error 22 : No such partition
What is the solution
|

24th November 2009, 07:45 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
The solution, as I see it, is to re-install the Ubuntu 9.10 boot loader. Ubuntu 9.10 uses grub2. I don't believe that grub 0.97 can boot a grub2 system but grub2 will boot the OS's that use grub 0.97. Grub2 will pickup on all of the installed OS's. Re-installing the Ubuntu 9.10 bootloader is probably the easiest solution.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th November 2009, 10:10 AM
|
 |
Registered User
|
|
Join Date: Nov 2009
Posts: 6

|
|
Quote:
|
The solution, as I see it, is to re-install the Ubuntu 9.10 boot loader.
|
How I do That I am still a child crawling in this world :3ayoo6:
|

24th November 2009, 10:30 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
Look here http://kubuntuforums.net/forums/inde...opic=3106368.0 or here https://help.ubuntu.com/community/Grub2. Probably a million more links about how to reinstall grub2 on the Internet.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th November 2009, 11:33 AM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
|
One other option, which I'm using, is to use a chainloader entry in Fedora's grub.conf, which passes the boot from the 'old' style grub to grub2:
title Ubuntu
rootnoverify (hd0,5)
chainloader +1
Adjust to your drive partition info.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

24th November 2009, 11:36 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
Hey, if that works then it is by far the easier alternative. Bob, you know a lot more about this Linux stuff then you give yourself credit for.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th November 2009, 12:15 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
Linux stuff? You mean we're using LINUX??? Oh wow, something new every day...
Yeah, I'm still booting a few things with configfile, although it's getting harder every day to find the right combo. Ext4 won't boot that way and you're absolutely right about grub2. The easiest method with that is to let it run the whole show and do the update every time you change kernels in any distro. It will pick up the new kernel entries and new distros very nicely. The problem is that you end up with a LONG list of boot options if you have multiple distros on your drives. In my case, I'm booting 9 distros/versions and it's a bit unwieldy.
Edit: Just as an example, in Ubuntu, after running "sudo grub-mkconfig -o /boot/grub/grub.cfg" to update my grub.cfg, here's how it looks (attached file). Want to boot THAT all day?
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

24th November 2009, 01:32 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
Can't really read the file at the moment as I'm viewing in Windows Notepad but it looks to be a couple average pages long. I generally get rid of all but one kernel for each distro that I'm booting but I make a backup copy of /boot/grub/menu.lst before I edit. Of course, if the new kernel has issues I can always restore the last backup. That way I avoid a list like yours
So, kazaanova, all fixed up are we? Things back to normal?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

24th November 2009, 05:04 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
|
Looks like Kazaanova has taken off for awhile; hope he updates us on success/failures.
Glenn; yeah, it's really a chunk and a half of text involved, but you have to remember that with grub2, you're going into very deep waters when you try to edit/modify it and the next update will just post it all over again. That's one reason I'm looking to cut back on my side-distro exploits and to avoid using grub2 until the last possible moment.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

25th November 2009, 01:36 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
There was an update for Ubuntu 9.10 that I ran this morning on the laptop. That would explain why I booted the thing tonight, walked away and came back to Vista staring me in the face. There are now 2 Ubuntu kernels listed so the default OS moved down 1 notch  Have to get into Ubuntu and fix that ..
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

25th November 2009, 01:45 AM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
|
I think that will be "gedit /etc/default/grub"
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

26th November 2009, 01:16 PM
|
 |
Registered User
|
|
Join Date: Nov 2009
Posts: 6

|
|
Thanks bob & glennzo
Solution is very simple
Decreasing the number of one of the partition
Example (hd0.3) Become (hd0.2)
Problem has been resolved successfully and enter the Ubuntu & Kubuntu
And with your permission bob I will explain the problem in a new topic
&
Quote:
One other option, which I'm using, is to use a chainloader entry in Fedora's grub.conf, which passes the boot from the 'old' style grub to grub2:
title Ubuntu
rootnoverify (hd0,5)
chainloader +1
|
not working
Edit: And sorry for the delay I was very busy
|

26th November 2009, 01:25 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
|
Well, glad you got it working. Don't know why the chainloader didn't work for you; it's working fine here, but whatever it took, good enough!
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

26th November 2009, 01:30 PM
|
 |
Registered User
|
|
Join Date: Nov 2009
Posts: 6

|
|
|
Thanks again bob and I hope that you accept my friendship
amir
Edit: Thanks again bob and I hope that you accept my friendship
amir
|

26th November 2009, 01:33 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,202

|
|
|
Accepted with thanks.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:05 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|