User Tools

Site Tools


howto:nicebootconfig

After reading a lot of this wiki, I wanted a decent boot configuration.

I wanted a boot menu that gave me

  • Normal boot
  • Rescue console
  • Root console
  • Modify system partition (No UnionFS)
  • System partition console
  • Scan user partition
  • Reformat user partition

I also wanted my rescue console to offer

  • The ability to mount my USB stick /dev/sdb1 on /mnt/sdb1
  • e2fsck - to be able to scan the system partition
  • tune2fs - to be able to convert the system partition to ext3
  • bzip2 - which I like better than gzip.
    • You can back up your system partition with “dd if=/dev/sda1 | bzip2 -9 >
      /mnt/sdb1/sda1.img.bz2

To install this boot configuration, you need the following files:
http://home.comcast.net/~unclechromedome/boot/initramfs-eeepc.img
http://home.comcast.net/~unclechromedome/boot/menu.lst

To install these files, you will need to boot a rescue console according to the instructions in
Install/run rescue console on the Eee

Assuming that initramfs-eeepc.img and menu.lst are in /home/user, boot the rescue console and install them as follows:

mount /dev/sda1 /mnt-system
mount /dev/sda2 /mnt-user
cd /mnt-system/boot
mv initramfs-eeepc.img initramfs-eeepc.img.orig
cd grub
mv menu.lst menu.lst.orig
cd /mnt-user/home/user
cp initramfs-eeepc.img /mnt-system/boot
cp menu.lst /mnt-system/boot/grub
cd /
umount /mnt-system
umount /mnt-user

Now press Ctrl-Alt-Del to reboot.
If something goes wrong, you can edit the grub menu on the fly to load initramfs-eeepc.img.orig instead of initramfs-eeepc.img. This should boot your original configuration.

howto/nicebootconfig.txt · Last modified: 2011/02/04 01:41 by unclechromedome