Wikula » Grub2Intro
Do not use the wiki to convert grub1 to grub2. Use:
http://manual.sidux.com/en/sys-admin-grub2-en.htm∞Disclaimer
Do not install grub2 if you lack skills in recovery techniques using a sidux live cd/dvd. Basically look at the pictures and decide for yourself if you want to try grub2. However, there are excellent people at the irc channels who may assist.Try at own risk please. Or try in an emulator. Of course, you may find that grub2 is easier to use for modding your background menu image so you may like it?
CONTENTS
These are links except for the convert section, below the line.
Some useful links and credits
Some suggestions on what to back up
One way of getting back to Grub legacy
Comparing some legacy versus grub2 commands
Some ways to rescue grub2
How to boot using commands at the menu
How to use a basic grub2 rescue cd
grub2 config files
grub2 splashimages
Changing the wallpaper
Converting images to use for wallpaper
Changing the resolution
Understanding the grub root pathway
Chainloader menu
USB keyboards
Warning Warning
How to make test iso - Part 1
How to make test iso with wallpaper - Part 2
How to generate your own eltorito image
How to boot iso images on the hard drive
One way to install grub2 and sidux to usb hard drive
Re-mastered changed to link to manual
Using chroot on a normal live cd
Convert Section....scroll down please
TODO so not linked
show updated config files
show more vbeinfo and resolution stuff
show how to create a backup grub iso using a recent kernel.... maybe
Please help
If you can help proof read the pages or show tests or more stuff feel free to do so, this is a wiki
Have fun. If you have any concerns post at my wiki forum posting in anything goes here
http://www.sidux.com/PNphpBB2-viewtopic-t-16230.html∞
Before we convert, do you have the right stuff?
http://grub.enbug.org/CurrentStatus∞
ext3 appears to be ok but watch out for ext4.
More detail on what grub2 can detect is shown by this command
strings /usr/sbin/grub-setup | grep "not a" `%s' is not a directory Current directory is not a directory??? the blocksize is not a power of two not a regular file not an affs filesystem not a cpio filesystem not an ext2 filesystem not a fat filesystem not a file not an HFS filesystem not a hfs filesystem not a HFS+ filesystem not a hfsplus filesystem not a iso9660 filesystem not an udf filesystem not a jfs filesystem not a minix filesystem not an ntfs filesystem not a reiserfs filesystem not a sfs filesystem not an sfs filesystem not an ufs filesystem not a ufs filesystem not a correct XFS inode. not a xfs filesystem not an xfs filesystem not a correct XFS BMAP node. not an afs filesystem not a tar filesystem
Do a test install inside virtualbox or other emulator before trying it out on your host system.
TIP Its fun to read all the pages before converting so you know how to recover if you feel like it.
Howto convert your existing sidux bootloader
su apt-get update && apt-get install grub2

Press y for yes and get next image

Press TAB key to highlight OK and press enter to proceed

Recommend you always use a chainloader on your first install so press enter when YES is hightlighted please

and finally its all installed and configured initially with grub legacy in mbr chainloading to grub2. Now reboot to test.
Its still a grub legacy linked to mbr...but grub2 install scripts have modified your menu.lst to show the chainloader and other infomation
It should default to top line and so press enter.

At time of wiki...version 1.96 means its not at stable release 2.0 so this proves we are at grub2 but YMMV

OK so once booted and you are happy chainloading did work, if you are happy, make the change fulltime? First command is merely to show you do not go for command grub like the legacy days. grub2 has a command for conversion in normal filesystem under /usr/bin called upgrade-from-grub-legacy. Naturally you need to be root to do this command
su upgrade-from-grub-legacy

Reboot to test.. In the above image there is mention of deleting the old menu file...please don't.

CategorySoftwareEn

