Booting with initramfs on Ubuntu 18.04.2.LTS #121

Closed
opened 2021-06-06 21:42:53 +02:00 by Nixies · 3 comments
Nixies commented 2021-06-06 21:42:53 +02:00 (Migrated from github.com)

Hello,

I'm trying to clone an sd card on which is installed an Ubuntu 18.04.2 LTS. During the cloning process everything goes ok but when I try the cloned sd card into the rpi 3b+ I land into initramfs prompt.
When I type exit it gives me the following message:

Gave up wainting for root file system device. Common problems:

  • Boot args (cat /proc/cmdline)
    • Check rootdelay= (did the system wait long enough)
  • Missing modules (cat /proc/modules; ls /dev)
    ALERT! LABEL=writable does not exist. Dropping to a shell!

I tried to change the delay value without success.
The original card work perfectly on the rpi 3b+.

Do you have any idea ?
Thank you very much.

Hello, I'm trying to clone an sd card on which is installed an Ubuntu 18.04.2 LTS. During the cloning process everything goes ok but when I try the cloned sd card into the rpi 3b+ I land into initramfs prompt. When I type exit it gives me the following message: Gave up wainting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough) - Missing modules (cat /proc/modules; ls /dev) ALERT! LABEL=writable does not exist. Dropping to a shell! I tried to change the delay value without success. The original card work perfectly on the rpi 3b+. Do you have any idea ? Thank you very much.
Nixies commented 2021-06-13 20:42:39 +02:00 (Migrated from github.com)

Hello,
Finally I solved the problem:
1- add Label to the root partition
2- modify the fstab: replace the LABEL="writable" by the PARTUUID value of this partition.

Hello, Finally I solved the problem: 1- add Label to the root partition 2- modify the fstab: replace the LABEL="writable" by the PARTUUID value of this partition.
SomebodySysop commented 2021-12-12 10:47:10 +01:00 (Migrated from github.com)

Hello, Finally I solved the problem: 1- add Label to the root partition 2- modify the fstab: replace the LABEL="writable" by the PARTUUID value of this partition.

I just cloned a Raspberry Pi 4 system using example 1), and but it into new Raspberry Pi 4 system and got the same exact error messages. This is kind of new to me. Could you elaborate just a bit on how you did steps 1 and 2.

How did you add Label to the root partition?

As for the 2nd step, could you just show your fstab so we could see the change you made?

This is what mines looks like:

# UNCONFIGURED FSTAB FOR BASE SYSTEM
LABEL=writable    /     ext4    defaults,x-systemd.growfs    0 0
/swapfile         none  swap    sw    0 0
LABEL=system-boot       /boot/firmware  vfat    defaults        0       1

Thanks!

> Hello, Finally I solved the problem: 1- add Label to the root partition 2- modify the fstab: replace the LABEL="writable" by the PARTUUID value of this partition. I just cloned a Raspberry Pi 4 system using example 1), and but it into new Raspberry Pi 4 system and got the same exact error messages. This is kind of new to me. Could you elaborate just a bit on how you did steps 1 and 2. How did you add Label to the root partition? As for the 2nd step, could you just show your fstab so we could see the change you made? This is what mines looks like: ``` # UNCONFIGURED FSTAB FOR BASE SYSTEM LABEL=writable / ext4 defaults,x-systemd.growfs 0 0 /swapfile none swap sw 0 0 LABEL=system-boot /boot/firmware vfat defaults 0 1 ``` Thanks!
SomebodySysop commented 2021-12-12 14:57:35 +01:00 (Migrated from github.com)

I actually resolved the problem by using this to clone the sdcard: https://github.com/nwright-mcc/piclone_cmd

New system booted immediately.

I actually resolved the problem by using this to clone the sdcard: https://github.com/nwright-mcc/piclone_cmd New system booted immediately.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#121
No description provided.