[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RE: using debian sarge installation cd as a rescue disk



hi,
I did this and it worked:
I use the first CD ( or netinstaller same thing), at the begining of installation ( when the partitions are loaded) switch to the shell command ctrl+alt+F2 for example, the installer doesn't use fdisk but parted, so the name of partition are different, you haven't /dev/hda1, /dev/hda2 ...;; instead there is : /dev/ide/host0/bus0/lun0/disc for the disk and replace disc with part1, part2 for partition.... I have an ide disk, you run parted and see the name of your disk


mount your root partition ( say it /dev/myroot ) on directory ( say /mydir) and chroot:
mount                /dev/ide/host0/bus0/lun0/part2           /tmp
chroot  /tmp
and now you can run any command on your original system, so do, grub-install /dev/hda , that 's all

best regards
bela



Reply to: