Re: Extra partition being created

2006-11-27 Thread Michael Tautschnig
[...]
> Oh, I see, because I said it was a "logical" disk so an extended 
> partition had to be created to house the logical disk.  Its been a while 
> since I've done some of this stuff, but is that more or less correct?
>
It's completely correct.

Best,
Michael



pgpMKiBVeSA6R.pgp
Description: PGP signature


Re: Extra partition being created

2006-11-27 Thread Thomas Lange
> On Mon, 27 Nov 2006 11:14:05 -0800, "Carl J. Van Arsdall" <[EMAIL 
> PROTECTED]> said:

> disk_config disk1
> primary  / 3000-  rw,errors=remount-ro ; -c -j ext3
> logical  swap  1000  rw
> # logical /homepreserve9   rw,nosuid; -m 1 -j ext3

If you remove the -c flag, your installation will be much faster. This
disables the badblock scan of mke2fs.

-- 
regards Thomas


Re: Extra partition being created

2006-11-27 Thread Carl J. Van Arsdall

Michael Tautschnig wrote:
It would appear to me as though somehow an extra partition is being 
created during the disk setup.  Here is my partition setup file, the 
partition.sda from the logs, is there a script somewhere adding an extra 
partition?


#disk_config/FAIBASE
# generic disk configuration for one small disk
# disk size from 500Mb up to what you can buy today
#
#[mount options] [;extra options]

disk_config disk1
primary  / 3000-  rw,errors=remount-ro ; -c -j ext3
logical  swap  1000  rw
# logical /homepreserve9   rw,nosuid; -m 1 -j ext3



#logs/partition.sda
glue:/var/log/fai/node-27/last# cat partition.sda
# partition table of device: /dev/sda
unit: sectors

/dev/sda1 : start=63, size=  33784632, Id= 83, bootable
/dev/sda2 : start=  33784695, size=   2056320, Id=  5
/dev/sda3 : start= 0, size= 0, Id=  0
/dev/sda4 : start= 0, size= 0, Id=  0
/dev/sda5 : start=  33784758, size=   2056257, Id= 82


The partition on /dev/sda2 is extra and not something I defined.  I just 
want one big partition and a 1 gig swap, is my configuration wrong?  
Furthermore, I looked at the partition table via fdisk, these partitions 
are assigned to the same starting point?





/dev/sda2 is what you implictly requested - an extended partition (you said the
swap partition should be a logical one, so setup_harddisks inferred an extend
partition must be created).

  
Oh, I see, because I said it was a "logical" disk so an extended 
partition had to be created to house the logical disk.  Its been a while 
since I've done some of this stuff, but is that more or less correct?


-carl

--

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software



Re: Extra partition being created

2006-11-27 Thread Michael Tautschnig
> It would appear to me as though somehow an extra partition is being 
> created during the disk setup.  Here is my partition setup file, the 
> partition.sda from the logs, is there a script somewhere adding an extra 
> partition?
> 
> #disk_config/FAIBASE
> # generic disk configuration for one small disk
> # disk size from 500Mb up to what you can buy today
> #
> #[mount options] [;extra options]
> 
> disk_config disk1
> primary  / 3000-  rw,errors=remount-ro ; -c -j ext3
> logical  swap  1000  rw
> # logical /homepreserve9   rw,nosuid; -m 1 -j ext3
> 
> 
> 
> #logs/partition.sda
> glue:/var/log/fai/node-27/last# cat partition.sda
> # partition table of device: /dev/sda
> unit: sectors
> 
> /dev/sda1 : start=63, size=  33784632, Id= 83, bootable
> /dev/sda2 : start=  33784695, size=   2056320, Id=  5
> /dev/sda3 : start= 0, size= 0, Id=  0
> /dev/sda4 : start= 0, size= 0, Id=  0
> /dev/sda5 : start=  33784758, size=   2056257, Id= 82
> 
> 
> The partition on /dev/sda2 is extra and not something I defined.  I just 
> want one big partition and a 1 gig swap, is my configuration wrong?  
> Furthermore, I looked at the partition table via fdisk, these partitions 
> are assigned to the same starting point?
>

/dev/sda2 is what you implictly requested - an extended partition (you said the
swap partition should be a logical one, so setup_harddisks inferred an extend
partition must be created).

Best,
Michael



pgppeVYXbwita.pgp
Description: PGP signature


Extra partition being created

2006-11-27 Thread Carl J. Van Arsdall
It would appear to me as though somehow an extra partition is being 
created during the disk setup.  Here is my partition setup file, the 
partition.sda from the logs, is there a script somewhere adding an extra 
partition?


#disk_config/FAIBASE
# generic disk configuration for one small disk
# disk size from 500Mb up to what you can buy today
#
#[mount options] [;extra options]

disk_config disk1
primary  / 3000-  rw,errors=remount-ro ; -c -j ext3
logical  swap  1000  rw
# logical /homepreserve9   rw,nosuid; -m 1 -j ext3



#logs/partition.sda
glue:/var/log/fai/node-27/last# cat partition.sda
# partition table of device: /dev/sda
unit: sectors

/dev/sda1 : start=63, size=  33784632, Id= 83, bootable
/dev/sda2 : start=  33784695, size=   2056320, Id=  5
/dev/sda3 : start= 0, size= 0, Id=  0
/dev/sda4 : start= 0, size= 0, Id=  0
/dev/sda5 : start=  33784758, size=   2056257, Id= 82


The partition on /dev/sda2 is extra and not something I defined.  I just 
want one big partition and a 1 gig swap, is my configuration wrong?  
Furthermore, I looked at the partition table via fdisk, these partitions 
are assigned to the same starting point?


Command (m for help): p

Disk /dev/sda: 18.3 GB, 18351967232 bytes
255 heads, 63 sectors/track, 2231 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1210316892316   83  Linux
/dev/sda221042231 10281605  Extended
/dev/sda521042231 1028128+  82  Linux swap / Solaris



Thanks,

-carl

--

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software



Re: Problem with setup_harddisks

2006-11-27 Thread Michael Tautschnig
[...]
> 
> When it's checking hard disks, I read something like
> 
> IDE0: ATAPI 24x CDROM
> IDE1: The interface is obsolete, will be removing soon
> 
> why? the IDE's cables can be wrong? Uf!!

Which chipset are you using, is it plain old P-ATA or S-ATA? 

Best,
Michael




pgpLpMbXUVlGw.pgp
Description: PGP signature


Re: Problem with setup_harddisks

2006-11-27 Thread fcm2

Thomas Lange <[EMAIL PROTECTED]> escribió:


On Wed, 22 Nov 2006 11:16:20 +0100, [EMAIL PROTECTED] said:


   > /dev/hda: no such file or directory
   > [...]
   > setup_harddisks did not create /tmp/fai/disk_var.sh

   > In my nfsroot don't exist /dev/hda, but I don't know how to do..
Which version of FAI are you using? Are you installing sarge or etch?
Search thin mailing list. There are some mails concerning the udev
setup using different FAI versions.

--
regards Thomas



I'm using FAI 2.10.5, and I'm installing sarge. But I don't find the 
way to make it works. My kernel is 
linux-image-2.6.17-fai-kernels_1_amd64.deb.


When it's checking hard disks, I read something like

IDE0: ATAPI 24x CDROM
IDE1: The interface is obsolete, will be removing soon

why? the IDE's cables can be wrong? Uf!!
Thank you
Fernando