Moving root fs ...

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

 



I am trying to move root filesystem from /dev/hda3 to /dev/hda5

I do

dd if=/dev/hda3 of=/dev/hda5 bs=1024

The problem is that /dev/hda3 is 5245222 blocks while /dev/hda5 is 5245191.

When I boot with root fs pointed towards /dev/hda5, it complains that size in super block is different than the actul size of the disk. Is there a way I can change it easyily

--
Usman S. Ansari


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux