It is currently Fri Apr 18, 2014 8:23 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: UBCD5RC1 third party apps cause kernel panic using grub4dos
PostPosted: Tue Nov 24, 2009 9:33 am 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
So I decided that it was time to let the plugins for my third party tools also be usable when using grub4dos. This was not as easy as I expected it to be. First I ran syslinux2grub4dos to create the entries in custom.lst, built and tested.. no dice. Gave an error regarding loading kernel first, don't remember exactly it was days ago.

Code:
title Acronis ^Disk Director Suite 10.0\n Acronis Disk Director Suite brings together the most popular disk management\n functions, partition recovery tool, and boot disk manager.
KERNEL /ubcd/custom/adds/kernel.dat
APPEND rw initrd=/ubcd/custom/adds/ramdisk.dat /S ramdisk_size=32000 mbrcrcs=on vga=791 quiet


That one was an easy fix, grub4dos doesn't like when 'kerne'l is capitalized. So I fixed that, built and retested.

Image
Kernel panic: VFS: Unable to mount root fs on 01:00

That is my result, I have tried using quiet, acpi=off and noacpi with no change. The tests are identical for all 6 of my varied acronis and paragon utilities.

Ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 24, 2009 12:24 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
UBCD50RC1 uses the new Syslinux syntax.
It uses LINUX instead of KERNEL and INITRD on a separate line instead of on the APPEND line as "initrd=".

You used something like this:
Code:
LABEL -
MENU LABEL Acronis Disk Director Suite 10.0
TEXT HELP
Acronis Disk Director Suite brings together the most popular disk management
functions, partition recovery tool, and boot disk manager.
ENDTEXT
KERNEL /ubcd/custom/adds/kernel.dat
APPEND rw initrd=/ubcd/custom/adds/ramdisk.dat /S ramdisk_size=32000 mbrcrcs=on vga=791 quiet


Your syslinux menu entry in custom.cfg, should be:
Code:
LABEL -
MENU LABEL Acronis Disk Director Suite 10.0
TEXT HELP
Acronis Disk Director Suite brings together the most popular disk management
functions, partition recovery tool, and boot disk manager.
ENDTEXT
LINUX /ubcd/custom/adds/kernel.dat
INITRD /ubcd/custom/adds/ramdisk.dat
APPEND rw /S ramdisk_size=32000 mbrcrcs=on vga=791 quiet

My syslinux2grub4dos script isn't smart enough (or I am not :P) to handle the old syntax too. I tried it, but all my config files where messed up, so I stopped with it.

Running the script now, should give the following Grub4dos syntax:
Code:
title Acronis ^Disk Director Suite 10.0\n Acronis Disk Director Suite brings together the most popular disk management\n functions, partition recovery tool, and boot disk manager.
kernel /ubcd/custom/adds/kernel.dat rw /S ramdisk_size=32000 mbrcrcs=on vga=791 quiet
initrd /ubcd/custom/adds/ramdisk.dat


You got the "Kernel panic: VFS: Unable to mount root fs on 01:00" message because grub4dos didn't load the initrd file. Grub4dos doesn't understand the APPEND line, it uses a 'kernel' line which contains the kernel filename, which you want load and the parameters that you want to pass to the kernel (the values that are on the APPEND line in syslinux syntax, execpt the initrd= part), and an 'initrd' line, which will load the initrd file.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 24, 2009 12:48 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
Thank you. I'll give it a try with the new syslinux syntax, I'll let you know within the hour!


EDIT:

Worked like magic, I can't tell you how long I was banging my head against the wall on this one lol

I do appreciate the help


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 24, 2009 1:14 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Happy to help :D.
In the future, you can look at the syslinux config files in /ubcd/menus/syslinux to understand the syntax better.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 24, 2009 1:29 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
My third party plugins were used in 4x probably 3x untouched and it honestly didn't occur to me that syslinux syntax had changed in 5. I'll keep that in mind though for next time.

Thank you again


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group