Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: axp-list@redhat.com
Subject: Re: BSD disklabel problem ...
Date: 13 Aug 2001 19:46:14 +0200	[thread overview]
Message-ID: <87elqfluop.fsf@student.uni-tuebingen.de> (raw)
In-Reply-To: <3B77E606.ADEB859A@astro.univie.ac.at>

Peter Mittermayer <p.mittermayer@astro.univie.ac.at> writes:

> I created a nsd disklabel (partition c only) taalking default values
> and switching type to 8 (ext2). Then I rebooted. The disk was
> recognized by the kernel and the partition as hda3. I used mke2fs to
> format the disk and (unfortunately) moved data from the old disk to
> the new one. After the next reboot however the disk was no longer
> accessible with the message 'corrupt partition table'.

Partition c is by convention used to denote the whole disk. It is not
for putting a file system on, since it spans *really* the *whole*
disk, including the partition table. You should make additional
partitions to put filesystems on, even if you want only a single
partition. Remember to leave ~5MB empty before the start of the first
"real" partition to have space for aboot.

> What happened? What can I do to repair the partition table? How can
> I get my data back??

Try mounting the device itself, e. g. sda, instead of sda3.

        Falk




      parent reply	other threads:[~2001-08-13 17:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 14:36 BSD disklabel problem Peter Mittermayer
2001-08-13 16:23 ` Michal Jaegermann
2001-08-14  6:58   ` Gregor Maier
2001-08-14  8:08     ` Peter Mittermayer
2001-08-14  9:01       ` Gregor Maier
2001-08-14  9:17         ` Peter Mittermayer
2001-08-14  9:35           ` Gregor Maier
2001-08-14 15:49           ` Michal Jaegermann
2001-08-14 15:34     ` Michal Jaegermann
2001-08-13 16:36 ` unsubscribe Ing. Mario Alejandro Juárez Gutiérrez
2001-08-13 17:46 ` Falk Hueffner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox