makedist-openmamba/platforms/bootusb-test/root/openmamba-bootusb/INSTALL

51 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2011-05-19 16:02:37 +02:00
openmamba flash 1GB - hard disk installation instructions
=========================================================
NOTE: the installation procedure described is not yet fully functional; please,
follow these guidelines only if you know what you are doing.
WARNING: THIS INSTALLATION MAY MAKE YOUR DUAL BOOT SYSTEM NO LONGER BOOTABLE, BE CAREFUL.
0) Boot your computer from openmamba flash, when the system is up open a
terminal window (konsole)
1) Use qtparted to resize/create the destination partition
2) Format the device <dest>:
mkfs.ext3 /dev/<dest>
3) Copy the filesystem from flash to disk:
mkdir /media/install
mount /dev/<dest> /media/install
cp -ax / /media/install
4) Make initrd
chroot /media/install mkinitrd boot/initramfs-`uname -r`.img `uname -r` -f
5) Install grub on your hard disk master boot record
grub-install /dev/<dest> --root-directory=/media/install
6) CHECKME: If your disk device is /dev/sdb you probably have to fix grub device map
(/media/install/boot/grub/device.map)
#7) Create root device symlink (needed?)
#
#rm -f /media/install/dev/root
#ln -s /dev/<dest> /media/install/dev/root
7) add root partition to /etc/fstab
8) Create grub configuration file for chainloading other OS's like this:
/etc/grub/conf.d/other:
title Windows
rootnoverify (hd0,0)
chainloader +1
9) Execute grub-update
chroot /media/install/ grub-update
10) That's all, now reboot and enjoy!