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

52 lines
1.5 KiB
Plaintext
Raw Normal View History

2011-05-19 16:08:22 +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 initramfs
(FIXME: are needed SCSI/SATA modules added to initramfs in chroot environment?)
chroot /media/install mkinitramfs 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!