Hello,

which version of the boot media (CD/Disk/TFTP-Image) are you using? I'm
having the same problems since I recompiled (with customized paths) the
boot cd from CVS two weeks ago (the current stable 4.6 wouldn't compile,
but I don't remember exactly what the problem was right now). With the
stable 4.6 release (and entering the paths manually), this does not occur.
Creating the partition manually with parted works. I noticed something
similar like you: choosing one of the automatic partitioning schemes
(like "use all disk") makes parted create a primary fat32 partition from
0 to 4000MB. However, starting parted manually and creating a partition
with "mkpartfs primary fat32 0% 4GB" creates a partition from 32KB to
3997MB, and this works.
So it looks to me the problem is not with parted, but with the way it's
invoked.

Bye,
Andreas

Steffen Kaiser schrieb:
> Hello,
>
> I have serious problems with the use of parted in unatteded Linux boot
> disk.
>
> Usually I install unattended on pre-partitioned hard disks, either by
> a previous version of Windows or using sfdisk (our Linux deployment
> usually runs before the Windows deployment :-) .
>
> However, when I select, for instance, to use all the disk in
> unattended, parted generates an invalid partition tables -- in the eye
> of Partition Magic, which refuses to run at all then. Same for Win98
> fdisk. Linux can access the partition with no problem, however, today
> I noticed that parted created a partition without a "lba" flag,
> whereas the Win98 fdisk does. Also, the Win98 fdisk partition started
> at, what parted displays as "32KB", whereas parted uses a start sector
> of 0.
>
> I have this problem on more than one computer with different Boards
> and HDs, e.g. a Dell, an IBM, some nonames using ASUS and Gigabyte
> boards.
>
> Also, when I order parted to create a fat32 file system on a partition
> (e.g. mkfs 4 fat32), and does not format the partition in DOSemu,
> winnt.exe dies with a division by zero right after it copied 100% of
> the files (some secs before the reboot). -- No issue as to format in
> DOSemu is no timing problem, I just wanted to point this out.
>
> Also, is there a way to have unattended mark an already existing
> partion as target? Because if the partion is formatted as NTFS, DOSemu
> does not seem to use it, regardless if format is actived.
> --> That way I noticed above behaviour, as I thought I can skip the
> DOS based format, when I invoke parted mkfs anyway.
>
> Would it be beneficial to drop parted and use sfdisk instead?
> IMHO it offers more fine grained control over the partition tables,
> e.g. which slot to use and direct manipulation of partition ID.
>
> Bye,
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to