LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-02-2006, 08:01 PM   #1
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux, FreeBSD, Makulu, Voyager, Bayanihan Linux
Posts: 268

Rep: Reputation: 30
Cant mnt / filesystem


I have a couple of Linux Distros or so + XP64 on 2 drives + on 1 external drive,
Now no matter which Distro I log into I find I cant mount into any of their root Partitions or files even when I login as root.
All my distros on this PC only have the one partition (root) for each Distro along with Swap ,I dont worry about Home partitions to often.
"/dev/hdb1" is my SWAP
This is the similar error I get everytime I click on a particular HardDisk to mount

Could not mount device.
The reported error was:
mount: can't find /dev/hda2 in /etc/fstab or /etc/mtab.

I did try one time adding the partitions I wanted to mount in fstab but didnt work,"may have done it wrong"
AnyWay the Distro I am using at moment is SuSE10
Here is my "fdisk -l" if it helps ,I am trying to mount "/dev/hda2" which has Frugelware on it .

Disk /dev/hda: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 117603 59271786 7 HPFS/NTFS
/dev/hda2 117603 238216 60789046+ 83 Linux

Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 118 947803+ 82 Linux swap / Solaris
/dev/hdb2 119 7297 57665317+ 83 Linux

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 7320 58797868+ 83 Linux
/dev/sda2 7321 17616 82702620 83 Linux
/dev/sda3 17617 23783 49536427+ 83 Linux
linux:~ #

Does anyone know if its possible to mount the root partition of linux on another Distro ? And How
 
Old 02-02-2006, 08:12 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
just create a directory somewhere (probably in /mnt)
Code:
mkdir /mnt/other_root
and try something like:
Code:
mount /dev/hda2 /mnt/other_root
if it complains for unknown filesystem, add the -t flag with the correct filesystem:
Code:
mount /dev/hda2 /mnt/other_root -t reiserfs
or
Code:
mount /dev/hda2 /mnt/other_root -t ext3
or something like that.
 
Old 02-02-2006, 08:13 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
ok, post the relevant parts of your fstab. yes, you should be able to mount any partition
 
Old 02-03-2006, 03:19 AM   #4
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux, FreeBSD, Makulu, Voyager, Bayanihan Linux
Posts: 268

Original Poster
Rep: Reputation: 30
Mate- Your'e a Genious'
I did step 1 & 2 of your'e tutorial ,Followed it exactly not changing a word or letter & it worked Beautifuly.
Thanks- will Add this to my Tips & Tricks File on DeskTop.
AnyWay my fstab is


/dev/hdb2 / reiserfs acl,user_xattr 1 1
/dev/hdb1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sda1 /data1 auto noauto,user 0 0
/dev/sda2 /data2 auto noauto,user 0 0
/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs noauto,fs=floppyfss,procuid,nodev,nosuid,sync 0 0
none /subdomain subdomainfs noauto 0 0
 
  


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
how to move the contents of /mnt/gentoo/k to /mnt/gentoo/ Leonig Mig Linux - General 8 06-19-2005 07:05 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
i changed /mnt/cdrom to /mnt/CD-RW - now i've got a problem?!?! spyghost Linux - Software 7 09-30-2003 02:06 PM
/mnt/cdrom & /mnt/scd0 locks up machine RIgimp75 Mandriva 7 09-01-2003 09:32 PM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 04:51 AM


All times are GMT -5. The time now is 09:17 AM.

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