Linked Questions

9 votes
4 answers
22k 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 ...
starfry's user avatar
  • 356
3 votes
1 answer
7k 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 ...
Ingo's user avatar
  • 42.6k
2 votes
3 answers
17k 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 ...
Elia Weiss's user avatar
2 votes
1 answer
8k 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 ...
Raspi User's user avatar
4 votes
2 answers
1k 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 ...
Richard's user avatar
  • 131
0 votes
1 answer
6k 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 ...
DavWEB's user avatar
  • 101
1 vote
1 answer
3k 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 ...
trixonet's user avatar
2 votes
1 answer
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 ...
crobar's user avatar
  • 123
1 vote
2 answers
727 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 ...
alexgolec's user avatar
0 votes
1 answer
786 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 ...
Karl's user avatar
  • 3
0 votes
1 answer
355 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.
Vishnu's user avatar
  • 1
0 votes
1 answer
277 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 ...
Doug56's user avatar
  • 1
0 votes
1 answer
126 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 ...
Noki Lee's user avatar