Partitioning 4GB with the Debian Installer

Greg Bonett greg at bonett.org
Fri Aug 22 03:10:52 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joachim Breitner wrote:
> Hi,
> 
> Am Donnerstag, den 21.08.2008, 15:48 -0500 schrieb Greg Bonett:
>> Unfortunately I'm working with the 512mb SD card that came with my FR
>> (install.sh had trouble partitioning my 4gb SDHC) so I haven't been able
>> to install too many aps
> 
> Actually, the install.sh should be able to handle that as well, at least
> theoretically. What problems did you have?


Alright, here it is...


When I run './install.sh all' it runs through the partition step (but
does not continue) and gives this output before quiting:



W: /dev/mmcblk0p1 is mounted, unmounting
1+0 records in
1+0 records out
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that the previous content
won't be recoverable.


The number of cylinders for this disk is set to 125440.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x00,0x00 of partition table 4 will be corrected
by w(rite)

Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (1-125440, default 1): Using
default value 1
Last cylinder or +size or +sizeM or +sizeK (1-125440, default 125440):
Command (m for help): Command action
   e   extended
   p   primary partition (1-4)
Partition number (1-4): First cylinder (246-125440, default 246): Using
default value 246
Last cylinder or +size or +sizeM or +sizeK (246-125440, default 125440):
Using default value 125440

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table
 * Waiting for partitions to appear
 * Partition table created
W: /dev/mmcblk0p1 is mounted, unmounting
 * Formatting the microSD card partitions
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1960 inodes, 7832 blocks
391 blocks (4.99%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
1960 inodes per group

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
500960 inodes, 1001560 blocks
50078 blocks (5.00%) reserved for the super user
First data block=0
31 block groups
32768 blocks per group, 32768 fragments per group
16160 inodes per group
Superblock backups stored on blocks:
	32768, 98304, 163840, 229376, 294912, 819200, 884736

Writing inode tables: done
Writing superblocks and filesystem accounting information:
Warning, had trouble writing out superblocks.done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.



If I try and run './install.sh mount' I get the following error:


Running stage mount
Mounting the newly created system
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk0p2,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


dmesg | tail gives:

glamo-mci glamo-mci.0: Error after cmd: 0x20
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 0
glamo-mci glamo-mci.0: Error after cmd: 0x8020
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 0
glamo-mci glamo-mci.0: Error after cmd: 0x20
mmcblk0: error -110 sending read/write command
end_request: I/O error, dev mmcblk0, sector 1568
EXT2-fs: unable to read superblock


I'm pretty sure this has something to do with th
e problem:

 Warning, had trouble writing out superblocks.done

(from initial ./install.sh all output)


Thanks for taking a look at this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrhIcR7UPrMLya90RAmk2AKDIRQRue11ukU3YV9N9ElgrnGfNswCfZsL0
ilTG+IGwiyOqYcr6fZbWzTU=
=f4ES
-----END PGP SIGNATURE-----




More information about the community mailing list