SCIENTIFIC-LINUX-USERS Archives

December 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Casteels <[log in to unmask]>
Reply To:
Paul Casteels <[log in to unmask]>
Date:
Thu, 14 Dec 2006 03:37:02 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
This works without problems (SL 4.4 / 2.6.9-42.0.3.ELsmp / x86_64)
  mkdir -p /mnt/initrd
  dd if=/dev/zero of=initrd bs=1k count=1200
  mke2fs -i4096 -m0 -F initrd
  mount initrd /mnt/initrd -t ext2 -o loop
  umount /mnt/initrd
What does not work is
  gzip -cd initrd-2.6.9-42.0.3.ELsmp.img > xx
  mount xx /mnt/initrd -t ext2 -o loop
The error is:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

What am I doing wrong?

ATOM RSS1 RSS2