Questions tagged [rootfs]

19 questions
29
votes
2 answers

What is rootfs?

I'm a longtime Fedora user and I've just installed FC15. The new partition layout is confusing to me, as I'm used to the "plain vanilla" partitions that previous versions used. [root@localhost ~]# df -h Filesystem Size Used Avail Use%…
Barry Brown
  • 2,392
  • 4
  • 22
  • 23
11
votes
3 answers

What is mdev and how to /dev/* nodes get created in Linux?

Our Linux kernel is 2.6.31 running on an embedded MIPS processor with busybox. The initialisation script (rcS) starts mdev with: echo "/sbin/stbhotplug" > /proc/sys/kernel/hotplug mdev -s Can anyone tell me what the Linux utility mdev does? It…
user626201
  • 231
  • 1
  • 2
  • 7
4
votes
1 answer

FreeBSD 10.1 how to autoreboot on kernel panic

Recently I installed FreeBSD 10.1 on machine that for years was working fine with FreeBSD 6.2. Since machine is located in datacenter I configured remote access via serial console. After installation I encountered a weird problem on boot. Every…
norbi771
  • 151
  • 1
  • 7
2
votes
1 answer

Download kernel+rootfs and boot on it with u-boot

We are working with a few single board computers (SBC). We generate linux embedded images with Yocto (using U-boot as bootloader), and we deploy it manually on SD cards. This works well for now, when we are in test phase and don't have a lot of…
Shan-x
  • 168
  • 1
  • 9
2
votes
3 answers

Kernel Panic with gentoo boot (root partition not found)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) grub.conf default 0 timeout 30 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo Linux 2.6.34-r6 root (hd0,0) kernel /boot/kernel-2.6.34-gentoo-r6 root=/dev/ram0…
JB87
  • 23
  • 1
  • 6
2
votes
1 answer

How does the linux kernel identify storage devices or any devices in general?

1 Problem: Today I encountered a strange behavior when trying to benchmark SSD's with a Raspberry PI and having two SSD's with the same label. 2 Setup: My setup is like this: My Raspi runs Ubuntu 2004 - the root file system is on a Samsung T5. On…
Andrino
  • 33
  • 2
1
vote
7 answers

Creating disk images with partitions as a non-root user

I am trying to build a disk image as an output from my build system (currently SCons). Creating disk images from a directory structure is very easy to do, for example with genext2fs (http://genext2fs.sourceforge.net/). But what I would like to do…
Jim
1
vote
0 answers

Stuck in initramfs after logical volume resize volume group not found

Hoping someone can help me recover my ubuntu server instance. Ran out of space on a VM and decided to extend the virtual disk. lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv Size of logical volume ubuntu-vg/ubuntu-lv changed from 37.00…
harri
  • 185
  • 2
  • 10
0
votes
2 answers

Boot from other root partition to shrink original root filesystem on LVM

How can I change the root partition for Debian 10 to boot from? I'd like to decrease the size of my root filesystem that sits on an LVM logical volume from remote, that is over SSH only and without booting to a Live CD. Since we can't shrink the…
NoMad
  • 302
  • 1
  • 4
  • 14
0
votes
2 answers

Mount RootFS error: VFS: Cannot open root device “mtdblock4” or unknown-block(0,0)

My MTD partition is: Creating 5 MTD partitions on "Physically mapped flash": 0x00000000-0x00040000 : "UBoot" 0x00040000-0x00060000 : "BDINFO" 0x00060000-0x00100000 : "JFFS2" 0x00100000-0x00380000 : "Kernel" 0x00380000-0x00800000 : "Rootfs" Kernel…
njdragonfly
0
votes
1 answer

How to mount a root aufs in Red Hat / Fedora Core?

I'm trying to set up a virtual machine running Red Hat EL (actually Scientific Linux, but same difference) where the root file system is protected and not writable. I'd like to accomplish this with a union mount using aufs. That is, a writable file…
Posco Grubb
  • 123
  • 1
  • 2
  • 6
0
votes
1 answer

adding new partitions to a device the containing root partition

On virtual box, I have my root file system mounted on the LVM: # df -h | head -n 2 | tail -n 1 /dev/mapper/cl-root 1.5G 951M 404M 71% / The LVM is mounted on /dev/sda2, and /dev/sda has the following table: # parted /dev/sda print | grep…
category
  • 103
  • 4
0
votes
1 answer

tmpfs file system is full. Need assistance to increase this or remove unneeded software

Almost at a loss here. Been running a fast server for a couple of years with Plesk. Hosting our own website and services. Over the last few days, I noticed a lot of problems but didn't think to check available file space. Checking this last night, I…
0
votes
1 answer

Why is Ubuntu/Linux /proc/mounts lying to me?

I've got a broken HDD for the rootfs - this probably caused the filesystem to be mounted read-only... however /proc/mounts still says it's mounted rw: $ cat /proc/mounts rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0…
kei1aeh5quahQu4U
  • 445
  • 4
  • 22
0
votes
2 answers

ZFS terminology: does 'root file system' accurately describe the file system at the root of a pool?

I began using the expression root file system. Recently in search engines I see, that three-word expression has different interpretations in relation to ZFS. To avoid future misunderstandings: if not 'root file system' (the first answer below),…
Graham Perrin
  • 635
  • 2
  • 10
  • 24
1
2