Errors making ext2 image, properties say data file.

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Errors making ext2 image, properties say data file.

#1 Post by sunburnt »

Making new image to copy moded old image to, mounting errors because new image isn't ext2.
Mount fails, PROPERTIES SHOW: contents indicate.. data, not Linux ext2 FS data.
The icon is a doc instead of a blue gear like the original image, I think mke2fs isn't working right.
CODE:
dd if=/dev/zero of=$IMG_WRK/img_new/image bs=1k count=$IMAGESIZE
mke2fs -F -m 0 -b 1024 $IMG_WRK/img_new/image
mount -o loop $IMG_WRK/img_new/image $IMG_WRK/mnt_new
#============= Debug output
+ dd if=/dev/zero of=/mnt/data/img_new/image bs=1k count=102744
102744+0 records in
102744+0 records out
+ mke2fs -F -m 0 -b 1024 /mnt/data/img_new/image
+ sync
+ mount -o loop /mnt/home/0/work-image /mnt/data
mount: Mounting /mnt/home/0/work-image on /mnt/data failed: Invalid argument
Last edited by sunburnt on Fri 02 Dec 2005, 05:28, edited 3 times in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#2 Post by GuestToo »

there must be a <space> between ! and -e

Post Reply