Code: Alles auswählen
umount /hdd
mkfs.ext2 -T largefile -m0 /dev/ide/host0/bus0/target0/lun0/part2
/bin/mount -t ext2 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
hat nicht geklapppt.
start_ide gibts bei newmake nicht also dachte ich ändere ich das in fstab:
Code: Alles auswählen
proc /proc proc defaults 0 0
tmpfs /tmp ramfs defaults 0 0
sysfs /sys sysfs noauto 0 0
devpts /dev/pts devpts noauto 0 0
/dev/ide/host0/bus0/target0/lun0/part2 /hdd ext2 defaults 1 2
Also alles zurück, jetzt geht auch ext 3 nicht mehr. Im Verzeichniss /hdd erscheint nichts mehr. (ist wohl nicht gemounted)
Wenn ich per Hand mounten will kommt folgendes:
Code: Alles auswählen
# /bin/mount -t ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: Invalid argument
# /bin/mount ext3 /dev/ide/host0/bus0/target0/lun0/part2 /hdd
mount: Can't find ext3 in /etc/fstab
#
Code: Alles auswählen
init started: BusyBox v1.1.3 (2006.09.13-13:31+0000) multi-call Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
dboxide: $Id: main.c,v 1.9 2006/09/11 17:30:00 carjay Exp $
ide: late registration of driver.
dboxide: activating cs2
dboxide: address space of DBox2 IDE CPLD is at: 0xc38aa000
Probing IDE interface ide0...
hda: IC25N030ATCS04-0, ATA DISK drive
ide0 at 0x010-0x017,0x04e on irq 47
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 58605120 sectors (30006 MB) w/1768KiB Cache, CHS=62016/15/63
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [3876/240/63] p1 p2
Journalled Block Device driver loaded
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: Invalid argument
ip: RTNETLINK answers: File exists
Code: Alles auswählen
BusyBox v1.1.3 (2006.09.13-13:31+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# init_hdd.sh
This command will initialize you hard disk. It will irrevocably
ERASE ALL DATA on the disk!! If this is what you want to do,
enter 3.1415926 to continue.
3.1415926
Continuing...
umount: Couldn't umount /hdd: Invalid argument
The number of cylinders for this disk is set to 3876.
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)
Command (m for help): Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 3876.
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 0x0000 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-3876, default 1): Last cylinder or +size or +sizeM or +sizeK (1-3876, default 3876):
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First cylinder (15-3876, default 15): Using default value 15
Last cylinder or +size or +sizeM or +sizeK (15-3876, default 3876): Using default value 3876
Command (m for help): Command (m for help): Partition number (1-4): Hex code (type L to list codes): Changed system type of partition 1 to 82 (Linux swap)
Command (m for help):
Disk /dev/ide/host0/bus0/target0/lun0/disc: 30.0 GB, 30005821440 bytes
240 heads, 63 sectors/track, 3876 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 1 14 105808+ 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part2 15 3876 29196720 83 Linux
Command (m for help): The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Now creating the file system. This may take a few minutes.
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
28544 inodes, 7299180 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
223 block groups
32768 blocks per group, 32768 fragments per group
128 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
Warning: could not zero block 7299152 at end of filesystem
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
Warning: had trouble writing out superblocks
done
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

Weiss jemand Rat?
EDIT: Achja, neben der Umstellung auf ext2 hatte ich zuvor auch ein flashimage kompiliert (oder zumindest versucht, klappte nicht). Dann wieder yadd geflasht, vielleicht ist dabei auch was zu Bruch gegangen. Ich bin mir sicher, wenn ich alles neu ausschecke und kompiliere geht es wieder, aber das kann ja auch nicht die Lösung sein ???
Danke Günther