Linked Questions

8
votes
4answers
15k views

Can the raspberry boot to an LVM root partition?

Before I start, I will say I have posted this on the Rpi forum as well. I don't normally cross-post but, having tried there and got nothing, I've come to my preferred knowledge centre. I'm just ...
2
votes
1answer
5k views

PI-3 corrupted file system - run fsck on boot (Raspbian Stretch)

I'm using a RPi3 with Raspbian Stretch and I have problems with corrupt file system. I use the Raspberry in a system where a "clean shutdown" is not possible. So I want to run fsck on boot. I have ...
2
votes
3answers
7k views

resize2fs: Device or resource busy while trying to open /dev/mmcblk0p3

I need to duplicate SD for RPI, but if I use 32G SD than it might not fit on other 32G SD, so I'm forced to use 16G SD, but than I loose half of the SD size. I followed the instruction in How can I ...
2
votes
1answer
4k views

How to make an image file from scratch

I want to make my own image file for a Raspberry Pi so I can copy any usable operating system to it and boot it. This way I'm also able to size down partitions or use other partition sizes. Is it ...
4
votes
2answers
883 views

Can't boot after adding a third partition to sd card

I am trying to create a third FAT32 partition on the SD card that consumes the free space on the card not used by the image. I want this instead of the root partition being resized. Creating the ...
0
votes
1answer
4k views

Move rootfs to USB disk and use minimal SD card

I'm running Raspian on RPi3 from a 16GB SD card. Now I try to use a SSD connected by USB to hold the root / partition and copy the /boot partition to a smaller SD card that is 512MB. I can't get it ...
2
votes
1answer
2k views

Pi 3 goes to emergency message when trying to boot from pi 2 hard drive, can I make it boot?

I have a raspberry pi 2 which I've had booting off a USB SSD hard drive for some time. Now I have bought a raspberry pi 3 and was hoping that it would be as simple as swapping the hard drive and ...
1
vote
1answer
2k views

My RPi 3 doesn't boot up to desktop

I tried running sudo fdisk -l, but I get sudo: unable to resolve host (none): Connection refused fdisk: cannot open /proc/partitions: No such file of directory found I also tried running mount ...
0
votes
1answer
433 views

Matching your Raspberry Image into a smaller SD-Card size - using fsarchive and a fresh image on the smaller SD-Card

Everybody knows - by raspi-config we can expand the image to the borders of the ext4 partition of the SD-card, but shrinking is impossible. This will generate copy problems, using a second SD-card to ...
0
votes
1answer
303 views

Make root 3GB partition on Raspbian Stretch

The Raspbian Stretch OS root partition should come as 3 GB. How can I make root as the 3 GB partition and the rest as a free partition.
0
votes
1answer
264 views

Adding OSMC to my SC card without destroying my loaded Raspbian OS

I reinstalled Raspbian OS many times trying to get the OpenCV libraries up and running. Now I'd like to add OSMC in a seperate partition without lossing the Raspian partition and the previously added ...
1
vote
2answers
194 views

Resizing partition on an external disk renders it unusable as a root partition?

I'm attempting to configure my raspberry pi 4 to boot from an external disk, and it works pretty well! I've configured it to boot from the partition ID I get from sudo blkid corresponding to my boot ...
0
votes
1answer
89 views

Partition of raspberry pi on Ubuntu 16.04

When I booted raspbian on raspberry pi, the name of partition is /dev/mmcblk0 But when I connect sd card via USB reader on Ubuntu 16.04, it shows a different name as /dev/sdc These sd cards are ...