Installer.

Michal Moskal malekith at pld.org.pl
Wed Oct 3 17:08:39 CEST 2001


On Wed, Oct 03, 2001 at 03:38:21PM +0000, Linus Swälas wrote:
> 
> So I tried and I conquered. Not. =)
> There seems to be a problem with the installar that I can't understand. I don't
> know how parted works but to me it seems a bit buggy. This is what happens when
> I run installer (after setup of course).
> 
> /bin # installer
> Validation complete, config is OK
>     Mounting /dev/hdb on /src type iso9660
>     Loading ide-mod
>     Loading parted-pkg
>     Loading ext2-pkg
> *** Checking existing partitions
> !!! Creating new msdos label failed!
> /bin #
> 
> Trying the offending line (in the beginning in /bin/installer-dest, a function
> called create_new_label_if_not_exist or similar) on the command line directly
> reveals:
> 
> /bin # parted -s /dev/hda print
> Error: Invalid argument during seek for read on /dev/hda
> /bin #

This has happen to few people. We're working hard for solution. I'd be
very happy if you checked ftp://ftp.kernel.pl/pub/People/malekith/parted.
It's static binary. If it works (even with your old linux distribution)
we will put it on next iso.

> So, I suspected some kind of error with my partitioning so I booted up my old
> linux installation and ran fsck on all partitions, all checked out ok, tried
> fdisk /dev/hda, everything seems fine. Dumped the partition tables and checked
> them by hand, still looks fine. So, fdisk from util-linux won't complain but
> parted does.
> I don't know parted, don't even know what it's trying to do when it want's to
> create a new msdos label in my mbr.

The message might be misleading, since when it didn't recognise msdos label
(it's partition table used on most PCs, even on my linux-only box :),
it tries to create new one. However as parted seems not to work with your
disk, script is confused.

> That just seems odd to me. I've also
> specified use_existing in the config so why does parted bother? Of cource after
> checking your script, parted is necessary for the script to figure out and build
> a table of the existing partitions, am I right? Do you have a solution or
> workaround for this problem? And why create a msdos label?

It only needs parted print (which dumps partition table).

> If you'd like I can send you a dump of the partition tables, doubt that it would
> help you though..

I guess it won't help me,  please try parted from url I gave you.

Thanks for your feedback.


-- 
: Michal ``,/\/\,       '' Moskal    | |            : GCS {C,UL}++++$
:          |    |alekith      @    |)|(| . org . pl : {E--, W, w-,M}-
:    Linux: We are dot in .ORG.    |                : {b,e>+}++ !tv h
: CurProj: ftp://ftp.pld.org.pl/people/malekith/ksi : PLD Team member



More information about the pld-devel-en mailing list