Diff for "Installation/OverSSH"


Differences between revisions 1 and 8 (spanning 7 versions)
Revision 1 as of 2006-10-25 13:33:37
Size: 124
Editor: DSL01
Comment:
Revision 8 as of 2006-10-25 14:32:03
Size: 1315
Editor: DSL01
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

===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
}}}


{{{
mkdir /mnt/ubuntu
}}}

{{{
mount -t ext3 /dev/hda1 /mnt/ubuntu
mount -t proc none /mnt/ubuntu/proc
mount -o bind /dev /mnt/ubuntu/dev
}}}

=== Chrooting ===
{{{
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
}}}

Warning /!\ 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

mkdir /mnt/ubuntu

mount -t ext3 /dev/hda1 /mnt/ubuntu
mount -t proc none /mnt/ubuntu/proc
mount -o bind /dev /mnt/ubuntu/dev

Chrooting

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

Installation/OverSSH (last edited 2011-05-31 16:43:31 by cpc1-seac10-0-0-cust324)