LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-25-2006, 07:04 PM   #1
future_boy
LQ Newbie
 
Registered: Apr 2006
Location: Aberdeen, Scotland
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Problems mounting Ubuntu HD in Gentoo


A little background. After using Ubuntu on a second HD and dual booting it with XP for a while, i found i was never using XP and ubuntu just wasn't configurable enough SO... i installed gentoo on my XP(80gig primary) HD with the view to getting my files off the Ubuntu disk (10gig slave) and then installing Win2k purely for gaming.

BUT i seem to be having problems getting the Ubuntu drive to mount

# mount -t ext2 /dev/hdb2 /mnt/ubuntu
gives

mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
missing codepage or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some cases useful info is found in syslog - try
dmesg | tail or so

fdisk gives me this:

Disk /dev/hdb: 10.0 GB, 10005037056 bytes
255 heads, 63 sectors/track, 1216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 31 248976 83 Linux
/dev/hdb2 32 1216 9518512+ 5 Extended
/dev/hdb5 32 1216 9518481 8e Linux LVM

I originally just created an entry for it in fstab which reads:

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot reiserfs noauto,noatime,notail 0 2
/dev/hda3 / reiserfs noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hdb2 /mnt/ubuntu ext3 auto,user 0 1

I'm probably just trying to do something really stupid and obvious, i know but any help would be appreciated...
 
Old 04-25-2006, 09:21 PM   #2
tells
Member
 
Registered: Jun 2003
Location: Peoria, IL
Distribution: Ubuntu (home) / RHEL (work)
Posts: 65

Rep: Reputation: 15
You cannot mount an extended partition. It looks like you are using LVM in Ubuntu. You would need to import the LVM configuration on the new system.

Here is a link:
http://www.linux.com/howtos/LVM-HOWT...tonewsys.shtml
 
Old 04-25-2006, 09:23 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Well the error says "mount: wrong fs type, bad option, bad superblock on /dev/hdb2, missing codepage or other error." Are you sure /dev/hdb2 has the ext2 filesystem? You can mount paritions without specifing the filesystem type, try that.

Nevermind, not only did tells beat me to it, his answer is alot better
 
  


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
Ubuntu 5.10, live cd, Fedora 5, gentoo, all with problems in the GUI for 64 bits CPUs doraimom Ubuntu 3 03-25-2006 08:59 PM
Ubuntu 5.10, live cd, Fedora 5, gentoo, all with problems in the GUI for 64 bits CPUs doraimom Fedora 2 03-25-2006 02:44 PM
Problems mounting 4G Ipod in ubuntu (warty) hegleran Linux - Hardware 2 03-02-2005 06:48 PM
Gentoo. Problems with the loop device when mounting an iso file Snerkel Linux - Software 4 11-26-2004 04:34 PM
Gentoo. Problems mounting an iso file Snerkel Linux - Distributions 2 11-26-2004 04:32 PM


All times are GMT -5. The time now is 10:29 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