RE: [SLE] Reinstalling Grub on MBR
Tried suggestions from Marshall Heartley with no success. Booting from CDROM rescue Rescue lgin: root Rescue:~# mount /dev/hda6 /mnt cd /mnt chroot try 'chroot --help' for more information. Do the chroot --help and from what I understand from it, I do chroot newroot /mnt/usr/sbin/grub-install /dev/hda chroot: cannot change root directory to newroot: No such file or directory. I can do a ls /man/usr/sbin/grub-* and see the file. If I do chroot newroot ls /man/usr/sbin/grub-* I get the same error as above. Checked 4 linux books, there is nothing on chroot. Checked the web, all there is are man pages which do not help more than the chroot --help. Any suggestions? Art -- Sent using SuSE Linux and Ximian Evolution.
On Thursday 18 December 2003 22:59 pm, Art Fore wrote:
Tried suggestions from Marshall Heartley with no success.
Booting from CDROM rescue
Rescue lgin: root Rescue:~# mount /dev/hda6 /mnt cd /mnt chroot try 'chroot --help' for more information.
Do the chroot --help and from what I understand from it, I do
chroot newroot /mnt/usr/sbin/grub-install /dev/hda chroot: cannot change root directory to newroot: No such file or directory.
When the help info says NEWROOT it means that is where you type the new root directory. You need: chroot /mnt /usr/sbin/grub-install /dev/hda NOTE: space between /mnt and /usr... and between ...install and /dev... /mnt IS the NEWROOT - i.e., from the POV of your command Maybe you should read man chroot ASAP Dylan -- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg
Thanks to all the replied. That did it. Would like to see examples of the commands in the help files though. Sometimes they are written for programmers. Art On Thu, 2003-12-18 at 14:17, Dylan wrote:
On Thursday 18 December 2003 22:59 pm, Art Fore wrote:
Tried suggestions from Marshall Heartley with no success.
Booting from CDROM rescue
Rescue lgin: root Rescue:~# mount /dev/hda6 /mnt cd /mnt chroot try 'chroot --help' for more information.
Do the chroot --help and from what I understand from it, I do
chroot newroot /mnt/usr/sbin/grub-install /dev/hda chroot: cannot change root directory to newroot: No such file or directory.
When the help info says NEWROOT it means that is where you type the new root directory. You need:
chroot /mnt /usr/sbin/grub-install /dev/hda
NOTE: space between /mnt and /usr... and between ...install and /dev...
/mnt IS the NEWROOT - i.e., from the POV of your command
Maybe you should read man chroot ASAP
Dylan
-- Sweet moderation Heart of this nation Desert us not We are between the wars - Billy Bragg -- Sent using SuSE Linux and Ximian Evolution.
On Friday 19 December 2003 01:16, Art Fore wrote:
Thanks to all the replied. That did it. Would like to see examples of the commands in the help files though. Sometimes they are written for programmers.
... and so people search mailing list archives for help... you haven't told us the solution, you've top-posted a thanks with a complaint. Jake
<snip>
chroot try 'chroot --help' for more information.
Awwww fudge!!!! You will need to execute it like this chroot / Sorry about that. This is what I get when I try and get going before my first glass of Mt. Dew hits =) The response for Dylan will get you there as well. Marshall
participants (4)
-
Art Fore
-
Dylan
-
Jake Pumphrey
-
Marshall Heartley