Mailinglist Archive: opensuse (933 mails)

< Previous Next >
Re: [opensuse] Problem with booting after a motherboard change
  • From: Markus Koßmann <markus.kossmann@xxxxxx>
  • Date: Mon, 28 Jun 2010 05:36:33 +0200
  • Message-id: <201006280536.33484.markus.kossmann@xxxxxx>
Am Montag, 28. Juni 2010 schrieb C. Brouerius van Nidek:
On Monday, June 28, 2010 09:24:20 am Philipp Thomas wrote:
On Mon, 28 Jun 2010 09:12:53 +0700, "C. Brouerius van Nidek"

<constant@xxxxxxxxxxx> wrote:
First I have to study chroot because that is a command I am not
familiar with.

Assuming the following layout:

/dev/sdb1 -> 11.2 /boot
/dev/sdb2 -> 11.2 /

You do:

mount /dev/sdb2 /mnt
mount /dev/sdb1 /mnt/boot
mount -bind /dev /mnt/dev
mount -bind /proc /mnt/proc
mount -bind /sys /mnt/sys

Now you do 'chroot /mnt'

Philipp,
Thanks. In my case I do not have a special /boot partition.
And with mount -bind /dev /mnt/dev it informs me:

# mount -bind /dev /mnt/dev
mount: invalid option -- 'b'
[...]
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir

You see that bind needs a double -

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >