how to execute these commands

November 20, 2010 at 09:39:54
Specs: Linux
how can i execute these commands in linux terminal.these r commands to restore my bootloader, i'm supposed to execute these commands from the terminal of live cd desktop .but when i type the 1st line "sudo -s -H its showing no file or directory found
cd /
sudo -s -H
mount -t ext3 /dev/sda2 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
chroot /mnt /bin/bash

See More: how to execute these commands

Report •

#1
November 21, 2010 at 09:48:10
See man sudo. No such options exist.

Some live cd's have you as root anyway. Check for whoami.

Why did it take me over a year to phone in a problem to ATT?


Report •

#2
November 21, 2010 at 16:25:35
When using Opensuse live CD, you're logged in as root, without password and can execute the mount and chroot commands directly, without sudo.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •
Related Solutions


Ask Question