LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with mounting the /dev (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-mounting-the-dev-882489/)

nkd 05-24-2011 01:25 PM

problem with mounting the /dev
 
hi everyone,
I recently did a reinstall of windows vista and my grub is gone.
So I would like to reinstall it with grub-install command using a fedora live cd
I did the following steps :-
Quote:

booted up on the live cd
created a temporary mountpoint
mounted my linux partition
changed dir to the mounted linux partition
then executed following commands
chroot .
mount /proc
mount /dev
But then I got the error :-
Quote:

mount: unknown filesystem type 'devtmpfs'
The next step would be to do
grub-install /dev/sda


But the mount /dev command failed and I am stuck.
What should be done ? plz help me out
thanks in advance
regards
nishith

markush 05-24-2011 01:30 PM

The correct steps for a chroot are
Code:

mkdir /mnt/fedora
mount /dev/sda? /mnt/fedora
mount -t proc none /mnt/fedora/proc
mount -o bind /dev /mnt/fedora/dev
chroot /mnt/fedora /bin/bash

Markus


All times are GMT -5. The time now is 01:56 PM.