Freitag, Juli 03, 2009

update to lenny via net installation

I have an old PC which OS is totally out of date. As it has testing on it for quite some time and I also tried out a lot of programs, a new installation looks like the best thing to to.

To save me the trouble of downloading the boot CD and burning it, I will try the net installation. The installer will be started (booted into) from the HD (see debian installation manual).


  • download from initrd.gz and linux from debian nl (for squeeze) or any other debian server to /boot/new.

  • update menu.lst:
    title New Install
    root (hd0,0)
    kernel /boot/new/linux
    initrd /boot/new/initrd.gz

  • reboot

  • let the installer repartition/format the HD you booted from

  • continue like normal installation



After the first reboot the file system check failed with this error:
The file system size (according to the superblock) is 992013 blocks The physical size of the device is 736981 blocks Either the superblock or the partition table is likely to be corrupt
Running fsck by hand didn't help. Booting from a rescue CD and running resize2fs /dev/hda1 fixed the problem.

Keine Kommentare: