For the first command instead of using mount /dev… you need to use:
mount -t ext4 /dev/sda3 /mnt (or ext3 and take care of sdaX)

Otherwise, we just got a dual boot system working with this manual again
after our session in Mbarara.

Am 18.06.2010 09:40, schrieb Janosch Maier:
> Chroot changes the root directory of your commands. As you want the
> installation to happen on your harddisc and not on the live cd.
> 
> Let us say, your first harddisc is sda, sda1 is the boot sector, windows
> is sda2 and ubuntu sda3. Then you do:
> sudo mount /dev/sda3 /mnt # Mount Ubuntu
> sudo mount /dev/sda1 /mnt/boot # Mount your Boot Partition
> 
> sudo mount -o bind /dev /mnt/dev # Give access to some important files
> sudo mount -o bind /sys /mnt/sys
> sudo mount -t proc /proc /mnt/proc
> sudo cp /mnt/proc/mounts /mnt/etc/mtab
> sudo chroot /mnt /bin/bash  # Chroot into the /mnt system
> 
> sudo apt-get install grub2 # Should not be nessecarry, but do it anyway
> sudo grub-install /dev/sda # This should now install grub into the MBR
> (try sda1 if it is not working)
> 
> If there are any errors try:
> sudo grub-install --recheck /dev/sdX
> 
> Then update grub for your system
> sudo update-grub
> 
> Leave the system:
> exit

-- 
Janosch Maier <[email protected]> -- http://phynformatik.de
This E-Mais is signed via GnuPG <http://gnupg.org/>. My public key:
0xEB21B1DE

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
LUG mailing list
[email protected]
http://kym.net/mailman/listinfo/lug

LUG is generously hosted by INFOCOM http://www.infocom.co.ug/

All Archives can be found at http://www.mail-archive.com/[email protected]/

The above comments and data are owned by whoever posted them (including 
attachments if any). The List's Host is not responsible for them in any way.
---------------------------------------

Reply via email to