Mailinglist Archive: opensuse-autoinstall (23 mails)

< Previous Next >
Re: [opensuse-autoinstall] pre-install scripts before or after partitioning?
  • From: Steffen Winterfeldt <snwint@xxxxxxx>
  • Date: Wed, 30 Apr 2008 12:11:57 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0804301208250.24326@xxxxxxxxxxxxxx>
On Mon, 28 Apr 2008, Jim Michaud wrote:

test -b /dev/sda && dd if=/dev/zero of=/dev/sda bs=512 count=1

I realize this also wipes out the partition table, but I was assuming
this was done before partitioning, so the install process would write
the new partition table. But I get an error part way through the
install complaining the disk has no partitioning (which I did confirm).

You may want to force the kernel to re-read the partition table (e.g. with
fdisk or parted) after the above command. Else some parts of your system
think there are partitions while others think there are not.


Steffen
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups
References