Unavailable Partitions in Ubuntu

Lisa Kachold lisakachold at obnosis.com
Mon Mar 16 08:43:35 MST 2009


Okay, you don't have any LVM/LVM2, however you still might have a problem with the correct UUID (between older distros can be problematic [or did you just change the mount to use UUID?]).   

Also, have you verified your reiserfs version between what was stock on your old Suse (version 9, I assume?) and Ubuntu?  Google the exact versions and mount errors to see that you get - might be a version based bug, with a workaround?)

1) AFTER you have fsck'd your drive (just umount and run fsck on it):

fsck -fs /dev/hdb8 
or if it's going to ask you a trillion recover questions use:
fsck -fsy /dev/hdb8

2) Manually umount and remount the drive.
Try the nouuid option of mount?

(dmesg for resulting whining hints)

Check to see if it's now recognized being mounted without the UUID using the device name (or did you just add the UUID?)

Or alternately change /dev/sdb8 in /etc/fstab?

3) Follow these instructions to determine/verify the correct UUID.


‘dumpe2fs /dev/sdb8′ or ‘ls /dev/sdb8/by-uuid’   or `vol_id –uuid /dev/sdb8

4) Boot into disk recovery tools and check the platter/disk veracity.
You very well might have lost that drive.  Older reiserfs when mounted as a USB drive can get totally hosed, this is a not an external USB housed SATA drive is she?

5) Boot into a Security Distro like EvilEntity-DR-0.2.5.iso or BackTrack3, which has binary disk analysis tools, where you can examine where that misspelling of the "reiserfs" might have come from.  There is a possibility that your disk was compromised and partially encrypted to hide some of the content.  

http://patctech.blogspot.com/

These steps might also allow you to recover some of the data, before you rebuild your drive.

Nosis| Obnosis | (503)754-4452



PLUG Linux Security Labs 2nd Saturday Each Month at Noon - 3PM




Date: Sun, 15 Mar 2009 22:08:13 -0700
Subject: RE: Unavailable Partitions in Ubuntu
From: mbushroe at gmail.com
To: plug-discuss at lists.plug.phoenix.az.us

cat /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0

# /dev/sda4
UUID=740d1e44-acaa-47e0-9846-0a4575651cbb /               reiserfs notail,relatime 0       1
# /dev/sda1
UUID=4439ba0c-7ed5-4cad-844b-97fa82e304c5 none            swap    sw              0       0

# /dev/sdb1
UUID=0551949e-262f-4955-a0e0-dd2f2ae7a620 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
# old home partition
UUID=dd1261ab-ea77-4645-8875-dc463651679b   /home2        reiserfs  notail,relatime   0   1

#/dev/sdb8                                   /home2         reiserfs  notail,relatime   0   1

sudo df -k

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4             51988488   4222804  47765684   9% /

tmpfs                  1028144         0   1028144   0% /lib/init/rw
varrun                 1028144       304   1027840   1% /var/run
varlock                1028144         0   1028144   0% /var/lock
udev                   1028144      2916   1025228   1% /dev

tmpfs                  1028144       460   1027684   1% /dev/shm
lrm                    1028144      2380   1025764   1% /lib/modules/2.6.27-7-generic/volatile
/dev/sdb8            212573540 110247412 102326128  52% /home2

/dev/sdd1              1957600   1684512    273088  87% /media/Lexar



sudo mount

/dev/sda4 on / type reiserfs (rw,relatime,notail)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)

sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-7-generic/volatile type tmpfs (rw,mode=755)
/dev/sdb8 on /home2 type reiserfs (rw,relatime,notail)

securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/mike/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mike)

/dev/sdd1 on /media/Lexar type vfat (rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush)




sudo vgscan
sudo: vgscan: command not found

sudo lvdisplay
sudo: lvdisplay: command not found


I also can not find /mnt/etc/fstab. There is nothing currently in the /mnt directory.



None of the partitions were created pvcreate, and none are encrypted. I have only used Parted to create and modify partitions, and they all have valid types when I use Parted to examine them.


I will try fsck on the volumes that don't mount

Mike

_________________________________________________________________
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20090316/34c5b8b9/attachment.htm 


More information about the PLUG-discuss mailing list