From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29520 invoked from network); 11 Feb 1999 17:16:16 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 11 Feb 1999 17:16:16 -0000 Received: from zruty.comnets.rwth-aachen.de (zruty.comnets.rwth-aachen.de [137.226.4.16]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA20693 for ; Thu, 11 Feb 1999 12:05:26 -0500 Received: from kirk.comnets.rwth-aachen.de (kirk [137.226.4.246]) by zruty.comnets.rwth-aachen.de (8.9.1/8.9.1) with ESMTP id SAA24587; Thu, 11 Feb 1999 18:05:07 +0100 (MET) Received: (ost@localhost) by kirk.comnets.rwth-aachen.de (8.6.12/COMNETS-1.0) id SAA14696; Thu, 11 Feb 1999 18:05:09 +0100 To: Marc Alvidrez Cc: axp-list@redhat.com Subject: Re: bsd-style partitioning References: Reply-To: Martin Ostermann x-no-archive: yes From: Martin Ostermann Date: 11 Feb 1999 18:05:08 +0100 In-Reply-To: Marc Alvidrez's message of "Thu, 11 Feb 1999 08:32:26 -0800 (PST)" Message-ID: <43btj0zxa3.fsf@comnets.rwth-aachen.de> X-Mailer: Gnus v5.5/Emacs 20.3 On Thu, 11 Feb 1999 08:32:26 -0800 (PST), Marc Alvidrez said: > Is writing a disklabel an irreprable act? After I write a disklabel, will Basically, yes. It will destroy the previous fdisk label. But it will not touch the existing partitions. It would be theoretically possible to create an bsdlabel whose partitions access the same areas as the previous fdisk label. The biggest problem involves "logical drives" in the extended partition: there are 1 or 2 blocks used for linear linking all "logical drives" together, so the bsdlabel partition must not start on the beginning of the cylinder, but one or two blocks later. > I be unable to boot from a floppy with the "root= /dev/sda2" flag? Since /dev/sda2 used to be a primary partition, I guess you'd be able to install the bsdlabel in such a way that this is possible. > How are bsd partitions accessed (does /dev/sda2 = /dev/c0t0d0s1). They get maped to /dev/sda*, but I don't know exactly how. > bsd-style partitions, will I need to make sure that I create new devices? No, you don't need to. > What about /etc/fstab? It basicallly looks the same. > My current partition table looks like this: > Disk /dev/sda: 141 heads, 62 sectors, 1018 cylinders > Units = cylinders of 8742 * 512 bytes > Device Boot Start End Blocks Id System > /dev/sda2 2 48 205437 83 Linux native > /dev/sda3 49 1018 4239870 5 Extended > /dev/sda5 49 236 821717 83 Linux native > /dev/sda6 237 476 1049009 83 Linux native > /dev/sda7 477 505 126728 82 Linux swap > /dev/sda8 506 681 769265 83 Linux native > Can I just ignore the extended partition when defining the bsd partitions > so that it will look something like: > Partition Mount Point Start End > 0 / 2 48 Yes. > 1 swap 477 505 you could reinitalize swap, than that will work ... > 2 whole disk 0 1018 I had problems with such an entry, because different kernel versions did the mapping differently. Suddenly /dev/sda4 became /dev/sda3 ... If you don't intend to use this (e.g. for backup), I would skip it. > 6 /usr 49 236 > 7 /home 237 476 No, because of those extra blocks in the extended partiton. HTH, Martin -- Martin Ostermann | mailto:ost+sig0@comnets.rwth-aachen.de Communication Networks | http://www.comnets.rwth-aachen.de/~ost Aachen University of Technology | phone: ++49/241/807917 Germany | fax: ++49/241/8890378