LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-07-2020, 12:46 AM   #1
7Jean7
LQ Newbie
 
Registered: Jan 2020
Posts: 3

Rep: Reputation: Disabled
Unable to mount root fs


I get kernel panic from my freshly compiled linux kernel booting from USB key (like here Unable to mount root fs)
  1. error : unable to mount root fs on unknown-block(0,0)
  2. kernel version : 5.5-rc5
  3. bootloader : none (EFI stub)
  4. built-in kernel command line : root=PARTUUID=xx1-xx1-xx1-1xx
  5. kernel supports root's filesystem : f2fs
  6. kernel is moduleless

Solutions tried/tested
  1. checked PARTUUID of the root device 3 times
  2. kernel do load my sata ssd with proper PARTUUID
  3. kernel doesn't mount other USB drive
  4. BLK_DEV=y, BLK_DEV_SD=y, USB_STORAGE=y, ...
  5. tried with UUID and /dev/sda2 same result

It seems to be a USB problem something wrong in kernel configuration ?

Last edited by 7Jean7; 01-07-2020 at 10:21 AM.
 
Old 01-07-2020, 07:56 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
Presumably CONFIG_F2FS_FS=y.

On the kernel command line, add "ignore_loglevel" to print all log messages to the console from early in boot.
 
Old 01-07-2020, 08:46 AM   #3
7Jean7
LQ Newbie
 
Registered: Jan 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
that was number 1. in solutions (1. kernel supports root's filesystem)
and rechecked by 4. in solutions (cause my SSD is also f2fs)
 
Old 01-07-2020, 10:09 PM   #4
7Jean7
LQ Newbie
 
Registered: Jan 2020
Posts: 3

Original Poster
Rep: Reputation: Disabled
Ok it turns to be a slow USB subsystem.
rootwait added to the kernel command line fixed that

all the credit goes to NeddySeagoon from Gentoo Forum
link to the post Unable to mount root fs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 09:05 AM
Why unable to mount my nas in fstab get "mount error(5) Input/output error fi5ban Linux - Networking 0 04-01-2009 10:42 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration