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???? |
Have you tried to mount old ubunti partition to your new one?
|
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 :confused: |
Well. Let we see your /etc/fstab and /etc/mtab.
|
# /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 |
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. |
ERROR........something about a bad superblock and filesystem not being correct..????
I'll get exact error message in while.. |
Are you sure it's hdd5? Make sure that hdd5 is not a swap partition.
|
Quote:
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 |
type (as root #)
Code:
fdisk -l /dev/hdd |
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:~$ |
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". |
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:~$ |
I think /dev/Ubuntu/root is the partition you want. Try
Code:
mount /dev/Ubuntu/root /media/ubuntu2 |
need filesystem......
abe@abe-Ubuntu:~$ sudo mount /dev/Ubuntu/root /media/ubuntu2 mount: you must specify the filesystem type abe@abe-Ubuntu:~$ |
All times are GMT -5. The time now is 12:31 AM. |