Size: 1315
Comment:
|
Size: 1974
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
===Caveat=== | === Caveat === |
Line 9: | Line 9: |
fdisk /dev/hda | # fdisk /dev/hda }}} {{{ # mke2fs -j /dev/hda1 # mkswap /dev/hda2 # sync; sync; sync # swapon /dev/hda5 |
Line 19: | Line 26: |
mount -t proc none /mnt/ubuntu/proc mount -o bind /dev /mnt/ubuntu/dev |
|
Line 22: | Line 27: |
=== Installing the Base System === {{{ }}} |
|
Line 25: | Line 36: |
mount -t proc none /mnt/ubuntu/proc mount -o bind /dev /mnt/ubuntu/dev |
|
Line 95: | Line 108: |
== References == * [http://www.gentoo.org/doc/en/handbook/handbook-x86.xml The Gentoo Handbook] contains a very good (Gentoo specific) [http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1 instruction on chrooted installation procedures]. * [http://doc.ubuntu.com/ubuntu/install/i386/apds03.html An other instruction] from the [http://doc.ubuntu.com/ubuntu/install/i386/index.html Ubuntu Installation Guide] is somewhat outdated and has shortcomings related to the bootloader installation. |
This is a work in progress, this means that I'm on it right now, it is not finished yet and it may breake your system!
Caveat
As you may already have guessed following this instruction may breake your systme and you are on your own to fix it again.
Partitioning
# fdisk /dev/hda
# mke2fs -j /dev/hda1 # mkswap /dev/hda2 # sync; sync; sync # swapon /dev/hda5
mkdir /mnt/ubuntu
mount -t ext3 /dev/hda1 /mnt/ubuntu
Installing the Base System
Chrooting
mount -t proc none /mnt/ubuntu/proc mount -o bind /dev /mnt/ubuntu/dev LANG= chroot /mnt/ubuntu /bin/bash
Installing OpenSSH Server
apt-get install openssh-server
Install a Kernel
apt-get install ....
Installing GRUB
apt-get install grub mkdir /boot/grub cp /lib/grub/i386-pc/* /boot/grub vim /boot/grub/grub.conf
# /boot/grub/grub.conf default 0 timeout 3 title=Ubuntu root (hd0,0) kernel /vmlinuz root=/dev/hda1 initrd /initrd.img
ln -s /boot/grub/grub.conf /boot/grub/menu.lst
# grub
grub> root (hd0,0) grub> setup (hd0) grub> quit
Reboot
# exit
# umount /mnt/ubuntu/proc # umount /mnt/ubuntu/dev # umount /mnt/ubuntu # reboot
Finishing
apt-get install ubuntu-standard
References
[http://www.gentoo.org/doc/en/handbook/handbook-x86.xml The Gentoo Handbook] contains a very good (Gentoo specific) [http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1 instruction on chrooted installation procedures].
[http://doc.ubuntu.com/ubuntu/install/i386/apds03.html An other instruction] from the [http://doc.ubuntu.com/ubuntu/install/i386/index.html Ubuntu Installation Guide] is somewhat outdated and has shortcomings related to the bootloader installation.