Re: CF disks images and centos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Tue, 30 Nov 2010 09:46:03 -0500 CentOS mailing list <centos@xxxxxxxxxx> 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 
> cards.
> 
> 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.

> 
> Thanks,
> 
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                                           

-- 
Robert Heller             -- 978-544-6933 / heller@xxxxxxxxxxxx
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                               
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux