Mailinglist Archive: opensuse (2831 mails)

< Previous Next >
Re: [SLE] Almost in a panic here...
  • From: Ken Schneider <suse-list2@xxxxxxxxxxxxx>
  • Date: Sun, 16 Jul 2006 14:25:07 -0400
  • Message-id: <1153074307.5822.22.camel@xxxxxxxxxxxxxxxxx>
On Sun, 2006-07-16 at 09:55 -0700, praxis wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> yonaton@xxxxxxxxxxxx wrote:
> > Quoting praxis <praxis@xxxxxxxxxxxxxxxxxxxxxxx>:
> >
> >
> > Here's what I got:
> >
> > Disk /dev/hda: 81.9 GB, 81964302336 bytes
> > 255 heads, 63 sectors/track, 9964 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/hda1 1 128 1028128+ 82 Linux swap /
> > Solaris
> > /dev/hda2 129 4045 31463302+ 83 Linux
> > /dev/hda3 * 4046 4436 3140707+ 83 Linux
> > /dev/hda4 4437 9964 44403660 83 Linux
> >
> > Disk /dev/hdb: 40.9 GB, 40982151168 bytes
> > 255 heads, 63 sectors/track, 4982 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/hdb1 * 1 4982 40017883+ 83 Linux
> >
> > It's possible I may have also made a 'boot' partition on hda when I
> > installed a long time ago, but can't remember for certain... <sigh>
> >
> > hdb is just one 'directory' which I named 'movies'. It's seen in
> > konqueror too, but shows nothing in it (I guess it's unmounted also,
> > right?).
> >
> >
> >
> >
>
> Forrest replied:
>
> Okay, John, good. now according to the fstab you posted earlier :
> > I do see this also, a 'data1', but it's also empty, no /user or anything. This is also what's in my fstab:
> >
> > /dev/hda2 / reiserfs defaults 1 1
> > /dev/hda1 swap swap pri=42 0 0
> > /dev/hda3 /data1 auto noauto,user 0 0
> > /dev/hda4 /data1 auto noauto,user 0 0
> > /dev/hdb1 /data1 auto noauto,user 0 0
> > devpts /dev/pts devpts mode=0620,gid=5 0 0
> > proc /proc proc defaults 0 0
> > usbfs /proc/bus/usb usbfs noauto 0 0
>
> It looks like your main "/" partition is /dev/hda2, and your system is
> using /dev/hda1 as swap. There are two other Linux formatted partitions
> on this disk: /dev/hda3, and /dev/hda4. Also interesting from the fdisk
> info you posted is that /dev/hda3, the third partition on your main
> ATA/IDE hard drive, is marked "bootable" -- that might have been the
> "boot" partition you were speaking of earlier. I would hazard a guess --
> its only a guess --that your "home" is actually on /dev/hda4, based on
> the size...but it could be either one.
> Now the other disk, /dev/hdb, has only one partition, which you called
> 'movies'? You can't see it? Then it is unmounted. (Verify this by typing
> yourhostname:/# df -h
>
> [[..that will show you the disk partitions that are mounted right now,
> in "-h" = "human-readable" format {with G notation for Gigabytes,
> etc.}. IF you type just "df" it will show the results in block size
> only...]]
>
> Okay, after typing that, you should verify that you do not see any of
> the directories in question, /dev/hda3, /dev/hda4/ or /dev/hdb1 in the
> "df -h" output.
>
> Next step:
> Experimental mounting of these directories under /mnt.
> Now, John, you are going to have to test something here. Based only on
> the information that you've supplied, I don't know what file system
> these partitions were formatted with. You are going to have to test this
> - -- the likely candidates are "reiserfs" and "ext3"...try both: [[..I'm
> doing this example below for /dev/hda4, because its' the biggest
> partition of the three. Similar procedure for the others..]]
>
> yourhostname:/# mkdir /mnt/hda3; mkdir /mnt/hda4; mkdir /mnt/hdb1
> yourhostname:/# mount -t reiserfs -o ro /dev/hda4 /mnt/hda4

It should _-not-_ be necessary to specify the file system type, let the
kernel figure it out and same your self from pulling more hair out.

--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx


< Previous Next >