Hello
I booted up knoppix3.3 from cd and wanted to restore my grub back to my mbr. after booting up knoppix I do this in a terminal-window:
Code:
sudo su
cd /mnt
mount hda4 #fdisk says-> hda4 is root and bootable
[root@ttyp0[mnt]]# chroot hda4
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung:
"keine berechtigung" is german and means "no access" or "access error", but anyhow, knoppix changes root to hda4 (very strange, I know)
Code:
[root@Knoppix /]# df -m
Dateisystem 1M-Blöcke Benutzt Verfügbar Ben% Eingehängt auf
/dev/hda4 3691 1109 2395 32% /
none 3691 1109 2395 32% /proc
[root@Knoppix /]# sudo su
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
[root@Knoppix /]# su
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
bash: /dev/null: Keine Berechtigung
so the cause for my problem is the access-problem. As I executed the following command for the first time,
I damaged my mbr...
Code:
[root@Knoppix /]# grub-install /dev/hda
/sbin/grub-install: line 419: /dev/null: Keine Berechtigung
/sbin/grub-install: line 421: /dev/null: Keine Berechtigung
/sbin/grub-install: line 419: /dev/null: Keine Berechtigung
/sbin/grub-install: line 421: /dev/null: Keine Berechtigung
/sbin/grub-install: line 419: /dev/null: Keine Berechtigung
/sbin/grub-install: line 421: /dev/null: Keine Berechtigung
/sbin/grub-install: line 419: /dev/null: Keine Berechtigung
/sbin/grub-install: line 421: /dev/null: Keine Berechtigung
/sbin/grub-install: line 419: /dev/null: Keine Berechtigung
/sbin/grub-install: line 421: /dev/null: Keine Berechtigung
The file /boot/grub/stage1 not read correctly.
I tried also "/dev/hda4" indeed of /dev/hda, but the same errors appear....
how do you get root-access on a harddisk by booting knoppix3.3?????
please help, it's very important
thanks for all advises
pablo