Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 667  / 2 Years ago, wed, august 17, 2022, 1:42:28

I have 2 Ubuntus installed: 12.04 and 6.10
After I installed the second one - 6.10, the first one (12.04) became invisible in grub.
Then I booted from the 12.04 live cd and followed this http://www.howopensource.com/2012/05/reinstall-recover-grub-from-ubuntu-12-04-live-cd-usb/ article to restore the complete grub using "boot-repair" utility.



Both versions kernels appeared in the list, 12.04 booted fine, but 6.10 became unbootable!
Simply when I chose any of them, the system restarts immediately.



Here is an example of grub entry for this:



    Ubuntu, kernel 2.6.17-12-generic (on /dev/sda2)
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root f13c4d37-cf48-4e03-91b2-4f4da43a7d73
linux /boot/vmlinuz-2.6.17-12-generic root=/dev/hda2 ro quiet splash
initrd /boot/initrd.img-2.6.17-12-generic


When I change root=/dev/hda2 to root=/dev/sda2 it stops from restarting, but it shows nothing but a command prompt and stops.
I have also tried removing "ro quiet splash" to see any errors with no luck.



I believe this has something to do with sda/hda thing in different Ubuntu versions, but have not had a luck after hours of searching to determine the solution!



Here is the output of "boot info script":
http://pastebin.com/raw.php?i=pVMdHkax



(Couldn't figure out how to correctly attach it here).



Thanks for looking.


More From » boot

 Answers
0

I have found a satisfactory solution for the problem!
Credits go to "Super Grub2 Disk" open-source software!!



It is a bootable USB (or any device) disk which has an option in particular:
"Detect any GRUB legacy menu configuration file (menu.lst)"



It took me a little while to figure out how to tune in my system and adjust SGD's settings in order to finally successfully boot the Ubuntu 6.10 Edgy !



Later, I have figured out which exactly minimum parameters are required for grub2 to make the successful boot (see the original in my question above):



    set root='(hd0,msdos2)'
legacy_kernel /boot/vmlinuz-2.6.17-12-generic /boot/vmlinuz-2.6.17-12-generic root=/dev/hda2
legacy_initrd /boot/initrd.img-2.6.17-12-generic


Note, '/boot/vmlinuz-2.6.17-12-generic' is written twice intentionally, I have checked, having it written only once, it would finish booting process before loading the image (after having loading the kernel).



I have then tried to use the firstly used tool "Boot Repair" and it's "Grub Legacy" Grub option, but it did not made the system multi-boot aware.



I have also tried using "Super Grub2 Disk" to somehow automate the menu repair process, and, again, could not made it being multi-boot aware.



The only ultimate solution I see so far is either manually editing /boot/grub/grub.cfg each time grub is updated, or edit "os-probe" script, so that when it would detect "/dev/hda*" partition, it would automatically use "legacy_" commands.



As the result, I've been able to install the proprietary driver and notice the significant performance increase!
For example, TuxRacer became having no lags even on highest resolutions (on highest - only slight overall speed decrease), while when was using Ubuntu 12.04 with it's native drivers, there were lags even on lowest resolutions when you are on a very open space.
Another 3d-game I have tried is java browser based SpiralKnights. It became working almost totally stable with no lags on glitches, while on 12.04 there were glitches, lags all the way long.
Not even mentioned in details, that I've been able to run the latest FireFox (with even no installation/compilation needed, just download & run), flash 10 version and latest java which made it a totally modern Internet system and already proven that the efforts were worth of trying.
I would be further trying to install and use Blender and try to render some great animations.



Similar threads on ubuntuforums with no solutions:



September 7th, 2011
Dell D600 Downgrade to Xorg 7/Dapper no flash
ubuntuforums.org/showthread.php?t=1840476



July 29th, 2010
installing Ati radeon 9200 drivers
ubuntuforums.org/showthread.php?t=1541719



November 22nd, 2009
Please help me downgrade Xorg
ubuntuforums.org/showthread.php?t=1334694


[#34133] Friday, August 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
taigysel

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago
taigysel questions
;