Tuesday, August 2, 2011

Gentoo on VirtualBox


To install Gentoo on VirtualBox, there is a good tutorial :

http://rmtheis.wordpress.com/2011/03/14/gentoo-x86-linux-installation-on-a-virtualbox-image/


Some notes :

- Ethernet card :

Be sure to choose the same card for your kernel and your VirtualBox.(Me I didn't choose to make the install with Genkernel)

- Partition /boot :

Don't put ext2 in the /etc/fstab file.It's better to put ext3 else if you should have problems by executing mount /boot/.Me I had the following error : unknow filesystem ext2.

* Log in as root
* Make sure /etc/fstab has /dev/hda10 mounted to /test as ext2, read write
* umount /dev/hda10
o If you can't unmount it, then remount it read only (mount -o remount,rw /dev/hda10)
* tune2fs -j /dev/hda10
* Edit /etc/fstab, and for /dev/hda10, change ext2 to ext3
* mount /dev/hda10
* /sbin/shutdown -h now
* mount | grep /dev/hda10
o If it's not shown as ext3, reboot, if still not, troubleshoot
o Otherwise, you're done.

The more simple is that you choose directly ext3 :

/dev/sda1   /boot        ext3    defaults,noatime     1 2
/dev/sda2   none         swap    sw                   0 0
/dev/sda3   /            ext3    noatime              0 1
Notes : TODO ext4

1 comment:

  1. I appreciate for post. I was looking for similar one. Can you update more details at link http://mlmdevelopers.com

    ReplyDelete