LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-05-2006, 10:25 PM   #1
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Rep: Reputation: 15
See old Ubuntu partition w/ new Ubuntu


OK...so I just Installed a new Ubuntu in a new partition.

and I have this old ubuntu in a completely different partition and different harddrive. and I want to get into the old ubuntu and get all my files...


how do I do this????
 
Old 10-06-2006, 01:57 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Have you tried to mount old ubunti partition to your new one?
 
Old 10-06-2006, 10:34 AM   #3
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
yes with this

mount -t ext3 -o defaults,errors=remount-ro /dev/hdd5 /media/ubuntu2

but the it says: /dev/hdd5 is already mounted or /media/ubuntu2 is busy

then i try to unmount /dev/hdd5 and says its not mounted

 
Old 10-09-2006, 02:21 AM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Well. Let we see your /etc/fstab and /etc/mtab.
 
Old 10-10-2006, 02:48 PM   #5
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda2 /media/WindoZ ntfs-3g defaults,locale=en_US.utf8 0 0


#mtab
/dev/hda3 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
varrun /var/run tmpfs rw 0 0
varlock /var/lock tmpfs rw 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
devshm /dev/shm tmpfs rw 0 0
lrm /lib/modules/2.6.15-27-386/volatile tmpfs rw 0 0
/dev/hda2 /media/WindoZ fuse rw,nosuid,nodev,noatime,allow_other 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
 
Old 10-10-2006, 08:47 PM   #6
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
Well, according to your fstab, your Ubuntu partition is not there. I had a similar issue with my usb drive and got the same mount error messages.

I think you have to add something like this:

/dev/hdd /media/ubuntu2 ext3 defaults,errors=remount-ro 0 1

However, don't trust me on this. It may or may not work. But:

-make sure that you know what drive and where it is. It sounds like it should be on your hda something but if you have it on another hard drive, then it would be different

-mount point is simply where you will see the files. Check that /media/ubuntu2 exist (if not, then make a ubuntu2 folder in /media)

-I took a guess that you were using an ext3 file system, but make sure it's not something else

-usually the option is just default, followed by errors-remount-ro 0 1.
 
Old 10-11-2006, 04:38 PM   #7
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
ERROR........something about a bad superblock and filesystem not being correct..????

I'll get exact error message in while..
 
Old 10-11-2006, 04:49 PM   #8
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
Are you sure it's hdd5? Make sure that hdd5 is not a swap partition.
 
Old 10-12-2006, 02:21 PM   #9
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by extrasolar
Are you sure it's hdd5? Make sure that hdd5 is not a swap partition.
how do i find out???

I went to Disk Manager and on the second drive(the one I want to mount) I get two partitions.........

one /dev/hdd1 ext3 243.14MiB

two /dev/hdd5 unformatted? 18.41GiB
 
Old 10-12-2006, 03:36 PM   #10
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
type (as root #)
Code:
fdisk -l /dev/hdd
copy and paste the contents here.
 
Old 10-13-2006, 12:14 PM   #11
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
abe@abe-Ubuntu:~$ sudo fdisk -l /dev/hdd
Password:

Disk /dev/hdd: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 31 248976 83 Linux
/dev/hdd2 32 2434 19302097+ f W95 Ext'd (LBA)
/dev/hdd5 32 2434 19302066 8e Linux LVM
abe@abe-Ubuntu:~$
 
Old 10-13-2006, 12:44 PM   #12
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
That is a Logical Volume Management partition; you can't mount LVM partitions in the conventional way. LVM is just a container that contains other logical partitions.

Seeing as you're using Ubuntu you're more than likely using LVM. Try typing "lvdipslay" and see if it lists any separate partitions within the LVM partition. The output should list the partitions; they should be in the format of /dev/VolGroup/Vol0 or something similar. Post any output you get with "lvdisplay".
 
Old 10-13-2006, 01:18 PM   #13
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
abe@abe-Ubuntu:~$ sudo lvdisplay
--- Logical volume ---
LV Name /dev/Ubuntu/root
VG Name Ubuntu
LV UUID Rrewef-4KST-dbG2-1nLq-6XIP-ndXh-z1vnmL
LV Write Access read/write
LV Status available
# open 0
LV Size 17.62 GB
Current LE 4512
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/Ubuntu/swap_1
VG Name Ubuntu
LV UUID Tob7It-nVll-Jw81-Zldz-df3c-5lQM-RtgBxI
LV Write Access read/write
LV Status available
# open 0
LV Size 800.00 MB
Current LE 200
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

abe@abe-Ubuntu:~$
 
Old 10-13-2006, 01:31 PM   #14
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
I think /dev/Ubuntu/root is the partition you want. Try
Code:
mount /dev/Ubuntu/root /media/ubuntu2
 
Old 10-13-2006, 01:40 PM   #15
SLP
Member
 
Registered: Jan 2006
Distribution: Ubuntu 6.06
Posts: 65

Original Poster
Rep: Reputation: 15
need filesystem......

abe@abe-Ubuntu:~$ sudo mount /dev/Ubuntu/root /media/ubuntu2
mount: you must specify the filesystem type
abe@abe-Ubuntu:~$
 
  


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
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
UBUNTU 5.04 PPTP configuration problem . On the Help Page of ubuntu is strange proble ReGgaE-Bg Linux - Networking 1 06-13-2006 08:05 AM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:38 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
Open Source Consulting | Domain Registration