This is a guide to copying UltraOS to your HDD directly on Ultra and settings up several OS running on the same drive.
Notes: Internet connection required at some steps,be sure you have it working.
Partition names /dev/sdXY can differ depends on storage devices connected to USB ports. You can check it with cat /proc/partitions
If you use some commands wrong way, you can loose your data. Use this How-To at your own risk!
This guide could also assist you for making MultiBoot with Windows, installed to partition #1
Suggested tool for preparing bootable Windows USB stick: http://wudt.codeplex.com/
Also you need to fix boot entry in burg.cfg (sudo nano /boot/burg/burg.cfg, find hd(1,1) and replace with hd(0,1) in menuitem hdd section). Refer to step 18.
1. Boot up using provided stick to Ultra OS and open Terminal
sudo passwd root # changes root password
sudo add-apt-repository ppa:bean123ch/burg # adds burg to apt-repository
sudo apt-get update && sudo apt-get install burg # updates apt sources and installs burg to UltraOS partition
(You may need to press ESC to close the pop-up window)
sudo cp /media/DRIVER/boot/burg/burg.cfg /boot/burg/burg.cfg # copies burg.cfg from Drivers partition
sudo cp -R /media/DRIVER/boot/burg/themes/fortune_ultra /boot/burg/themes/ # copies UltraOS burg theme
sudo apt-get install gparted # installs gnome partition manager
sudo gparted& # runs gnome partition manager
(Optional - install a Windows Os)
9. Create/resize partitions for your own needs
Suggested scenario Partition1 - Windows, Partition2 - UltraOS, Partition 3-6 DATA/other OS
(UltraOS to partition 2 is mandatory, or you will need to fix paths yourself in config files)
10. Reboot, and as soon as you see bootloader, press letter e # edits bootloader parameters
11. Go to line starting: linux and press End button, just after =ywrap add word: single, press F5 and enter # commits changes to bootloader parameters
12. Wait until linux boots up to Recovery menu: select root and press Enter, enter a password you have used at step 2 # runs a plane root shell
killall dhclient && mount -no remount,ro / # remounts UltraOS partition to read-only
15. Attention: be sure you have checked your partitions before issuing this command!!!
You can check your partitions with command:
dd if=/dev/sdb2 of=/dev/sda2 # (Where sda2 is your prepared linux partition) clones UltraOS partition to HDD
e2fsck -f /dev/sda2 && resize2fs /dev/sda2
# fixes partition size after clonning
mount /dev/sda2 /mnt && mount --bind /dev /mnt/dev && mount --bind /proc /mnt/proc # mounts HDD UltraOS partition
chroot /mnt # changes root filesystem to HDD UltraOS partition
Edit burg.cfg - (sudo nano /boot/burg/burg.cfg, find hd(1,1) and replace with hd(0,1) in menuitem hdd section
burg-install /dev/sda # installs burg bootloader to your HDD
20. Reboot & enjoy