On Thu, Nov 29, 2007 at 11:18:16PM +0100, ervin wrote:
> I'm pxe booting ubuntu dapper 6.06 to a Soekris 4501 (64MB RAM & 1GB
> Compact Flash card) ... dhcp, tftp and the server install is running
> smoothly until I want to write the partitioning to the CF card ....
>
> I tried guided and manual partitioning .... same issue, which is:
> ---------------------------- issue
> -------------------------------------------------
> The attempt to mount a file system with type swap in IDE1 master, |
> | partition #5 (hda5) at none failed.
> --------------------------------------------------------------------------------------
> I made tests on different CF card 1GB & 4GB and from both Sandisk &
> IBM ... no difference.
>
> My manual partitions:
>
> 200 MB /
> 100 MB swap
> 350 MB /usr
> 350 MB /var
Copy-paste of fdisk output would be more useful
('fdisk /dev/hda' then type 'p')
Your error message says that Ubuntu is expecting to find a swap partition at
/dev/hda5, which is a logical partition within an extended partition. That
is, one of /dev/hda1 to /dev/hda4 is an extended partition, and within that
partition is created /dev/hda5. (You can have lots of logical partitions
within an extended partition; it's really just a hack to get around the
limit of 4 MBR partitions)
I have a machine here running Ubuntu 6.06 (desktop not server), I think with
default partitioning, and this is what I have:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4681 37600101 83 Linux
/dev/hda2 4682 4865 1477980 5 Extended
/dev/hda5 4682 4865 1477948+ 82 Linux swap / Solaris
So you could try manually partitioning the card like that.
Alternatively, if you let Ubuntu do its own partitioning, or manually
partition the card within the installation process so it knows where your
chosen swap partition is, I'd have thought everything would Just Work[TM].
But I've not done a non-graphical Ubuntu install over a serial console
(which I guess is what you're doing), so can't help you with the specifics.
HTH,
Brian.
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech