[CentOS] CF disks images and centos
heller at deepsoft.com
Tue Nov 30 12:34:42 EST 2010
At Tue, 30 Nov 2010 09:46:03 -0500 CentOS mailing list <centos at centos.org> wrote:
> Hi all,
> I have 8G -CF cards that I have been putting linux on.
> Everything was working fine till yesterday when I got a new batch of CF
> The size has changed. The original CF card was 7637M (255 heads/63
> sectors/928 cylinders)
> The new CF card is 8019M (255 heads/63 sectors/974 cylinders)
> I would have thought putting the smaller image file onto the larger CF
> card would be ok.
> However its not. centos boots but there are journal issues and
> everything is mounted read-only.
> Any ideas why this doesnt work or how I can keep my smaller image and
> "succecssfully" put it
> on the larger CF card?
> I simply do "dd if=cf.img of=/dev/sde" to copy the images to CF.
ARG!!! Don't do this! You really, really don't want to dd a raw disk
image (including mbr/partition table) to a *different* geometry disk -- it
does not matter what the 'disk' tech is (IDE. SCSI, SATA, SSD, etc.).
Partition the new disk with fdisk (or something like that), then use
mkfs to make the file systems than use dump/restore to move the file
systems. Finally use grub-install (or lilo) to install the boot loader.
> CentOS mailing list
> CentOS at centos.org
Robert Heller -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
More information about the CentOS