Try your kernel config string. On this Pi /boot/cmdline.txt has
root=PARTUUID=d9b3f436-02
I copied an sd to a hard drive once and it wouldn't boot until I put
the partuuid from the hard drive in there. That and the fstab were
the only changes I had to make. Should have put rootwait in there too
Grep on the 32 GB card for the root UUID only turns up the value in
p2/etc/fstab. Nothing turned up in p1 though I can manually look into
either of the initrd images with Midnight Commander and find it in the
aforementioned dafault_root file.
I did see where the 32 GB card has p2 labeled as "root
Grep for the UUID? Including grep -r to recurse directories. You'll
probably need to do it once per partition. gpartid has some serous
bugs when it comes to resizing I think. If you're really careful with
your math you can control fdisk at a sector level. Actually I've done
it in OpenBSD, not L
* On 2020 24 Mar 15:46 -0500, Alan Corey wrote:
> Downsizing requires that no files are in the part you trim off.
Ahhh. Makes sense.
The mmc has two partitions, p1 an ext2 of 128 MB and p2 a btrfs with the
rest of the space.
Since I had the files of p2 on the 4 GB card, I went ahead and deleted
Have you tried partimage? Maybe it only does one partition, I was
looking for something that can make images like the ones you download
when youj insttall. Just saw this today, haven't tried it yet.
Partition Image is a partition imaging utility. It has support for the
following file systems:
*
On Tuesday 24 March 2020 16:44:42 Alan Corey wrote:
> Downsizing requires that no files are in the part you trim off.
> Upsizing can sometimes be done by deleting the partition and
> recreating letting fdisk use the maximum size. Don't format between
> or anything and in case you have to type the
Downsizing requires that no files are in the part you trim off.
Upsizing can sometimes be done by deleting the partition and
recreating letting fdisk use the maximum size. Don't format between
or anything and in case you have to type the numbers in you should
have a copy of them handy like
Device
Hi All.
I have an Olimex LIME2 based Freedombox (Debian Buster) and as I am
using an external hard drive with it, less than 2 GB of the 32 GB
micro-SD card capacity is being used. I have a spare 4 GB card that I
would like to use instead, but haven't figured out how to downsize the
root partition
8 matches
Mail list logo