LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2011, 02:25 PM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Rep: Reputation: 34
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
 
Old 05-24-2011, 02:30 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850Reputation: 850
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
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem in mounting media automatically using /dev/sr0 eduslack Slackware 7 02-20-2010 02:11 PM
/dev/sda mounting problem yzt Linux - Newbie 4 09-13-2007 01:50 AM
Mounting problem with WD 200GB IDE onChaned 2 Master /dev/hda1 A6Quattro Fedora 1 10-29-2005 05:19 AM
Mounting /dev/sda0 - problem after kernel recompile kheno Ubuntu 3 06-03-2005 06:02 PM
Mounting CD problem : No dev/cdrom ? linuxdumbnoobie Linux - Newbie 13 11-29-2004 02:18 PM


All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration