LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2016, 12:44 AM   #1
TanyaC
LQ Newbie
 
Registered: Jul 2013
Location: Melbourne, Australia
Distribution: Mint
Posts: 22

Rep: Reputation: Disabled
[Solved] kernel panic not syncing vfs unable to mount root fs


I am trying to install Linux mint on a system with 3 drives.
Windows 7 Boot drive is Samsung 950 pro 512gb NVMe M.2 split into 2 partition. This drive is buried beneath my video card, a GTX 970

Second drive is Kingston Sata3 SSD 120gb used for gaming

Third drive is Seagate 2TB NAS ST2000VN000 Spinner and has 64 gb unallocated at the start of the drive, and the rest is my data storage.

The 3rd drive is where I want to install Linux Mint 18.

When I boot I get the Kernel Panic error.

Eventually I will change over to Linux and if there is anything Windows I need I'll use Wine. But for now, I want to run both OSs until I get the hang of Linux Mint.

From what I've seen on my search results, this seems to be related to the disk partitions and grub, but being a newbie I couldn't say for sure.

What might be causing the kernel panic?

thanks

Last edited by TanyaC; 08-14-2016 at 02:15 AM.
 
Old 08-11-2016, 02:08 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Kernel panic not syncing has to do with timing. It can be due to almost anything. But here is what I would check, in the grub menu press the 'e' key for edit. Change the 'root' parameter in the kernel line to
Code:
root=/dev/sdax
where x is the partition number of the root directory. If you have only on partition for the whole linux installation, then it would be
Code:
/dev/sda1
. Then press CTRL+x to boot the system.
 
Old 08-11-2016, 02:20 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
Quote:
Originally Posted by TanyaC View Post
The 3rd drive is where I want to install Linux Mint 18.

When I boot I get the Kernel Panic error.

thanks
It's not clear what exactly you are booting from. You say you "want to install" Mint. Does that mean that you haven't installed it yet? Or have you just installed it and this is your first attempt to boot it by itself? If the latter, then yes, the problem is that the kernel isn't finding the correct root partition (or can't read it for some other reason).

First you need to find out the correct device name for the partition. Most computers have only one hard drive but you have three, so you can expect complications. Boot from the installation CD and look in the folder called /dev. You should see three drives called sda, sdb and sdc. You should also see partitions with names like sda1. You need to find out the name of the partition you have installed to and then get grub to use it. This involves some editing of configuration files, but people here will help you and point you to useful links.

It's also worth finding out what grub is trying to boot from at the moment. If you can post your /boot/grub.cfg file, that would be useful too.

PS. AwesomeMachine may not be correct in suggesting sda1. It's more likely to be sdc1 in your case. But in any case, finding out the correct name for your linux partition is the key step.

Last edited by hazel; 08-11-2016 at 02:22 AM. Reason: Additional postscript
 
Old 08-11-2016, 02:08 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
I leave the details up to the poster. Otherwise the overall concept is lost. But, yes, it probably is not actually /dev/sda1 that you'll be looking for. It's the root directory of the Linux Mint installation.
 
Old 08-11-2016, 02:10 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Just a footnote, RE: the op, wine is pretty lame compared to virtualbox. In fact, wine has so many problems I consider it unusable. But it's an interesting project, and some people have fun trying to get it to work. Plus, no operating system licenses with wine!

Last edited by AwesomeMachine; 08-11-2016 at 02:16 PM.
 
Old 08-11-2016, 07:53 PM   #6
TanyaC
LQ Newbie
 
Registered: Jul 2013
Location: Melbourne, Australia
Distribution: Mint
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AwesomeMachine View Post
Just a footnote, RE: the op, wine is pretty lame compared to virtualbox. In fact, wine has so many problems I consider it unusable. But it's an interesting project, and some people have fun trying to get it to work. Plus, no operating system licenses with wine!
Wine was I had heard of. If it's not the best solution I am happy to try other things. This is all new to me and I'm open to learning new stuff..
 
Old 08-11-2016, 08:07 PM   #7
TanyaC
LQ Newbie
 
Registered: Jul 2013
Location: Melbourne, Australia
Distribution: Mint
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thank you for your swift replies!

Ok, I didn't explain myself very well in my initial post. Please forgive my newbie-ness.

I am booting from a USB that was created using Rufus 2.9 from a Linux Mint x64 Cinnamon v18 ISO. (USB mode; Wont boot UEFI mode on my ASRock Extreme 7+ mobo). When the system starts I press F11 to select my boot device.

I get the initial screen that says it will auto start in 10 seconds.

Once the "LiveCD" version (Is that what it is called?), attempts to start I get the kernel panic immediately.

I have not installed Mint. I have not created any partitions for Mint. I simply have 64gb of unallocated space at the start of my 3rd Drive (SDA3?) ready to be used for the install. The other 1.75TB of space on that drive is used for data storage.

The drives are:

(SDA1?) 950 pro 512GB SSD NVMe M.2 x4 - C: 96GB - Windows 7 & F: 380GB - Working (Video encoding, programming, email storage etc)
(SDA2?) Kingston 120GB SSD AHCI SATA3 - D: Games
(SDA3?) Seagate ST2000VN000 SATA3 spinner E: 1.75TB - Storage; 64GB unallocated.

Are you suggesting I should remove all other drives before attempting to install Linux?
 
Old 08-12-2016, 01:32 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,499
Blog Entries: 19

Rep: Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410Reputation: 4410
There could be something wrong with your CDROM image. It's normal to put these images on USB drives nowadays, but I've never heard of an installation kernel panicking either from a CD or from USB. These kernels boot to a ram disk so they should work regardless of the local disk setup.

Did you check the md5sum of the image before transferring it to the USB drive?

If you can't get this one to boot, it's really worth downloading and trying out a different image.
 
Old 08-12-2016, 02:06 AM   #9
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,240

Rep: Reputation: 103Reputation: 103
I have come across kernel panics during boot, with either a cd or a usb. It's not that unusual. I simply tried using other methods or simply starting all over again - writing the image on the usb stick and so on. You should also check the linux mint iso. Maybe there's something wrong with it, I don't know?

Sometimes the image might not be correctly written on the usb stick, so you just have to try again. Or try another image, as hazel says.
 
Old 08-12-2016, 04:21 AM   #10
TanyaC
LQ Newbie
 
Registered: Jul 2013
Location: Melbourne, Australia
Distribution: Mint
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vincix View Post
Sometimes the image might not be correctly written on the usb stick, so you just have to try again. Or try another image, as hazel says.
Ok, I will grab a different USB stick and a new image and try again. And even an older Rufus version. I'll report back what happens.

thanks
 
Old 08-14-2016, 02:14 AM   #11
TanyaC
LQ Newbie
 
Registered: Jul 2013
Location: Melbourne, Australia
Distribution: Mint
Posts: 22

Original Poster
Rep: Reputation: Disabled
OK, that worked. Re-downloaded the image, and used universal USB installer instead of Rufus to prepare the USB image, and it booted and installed fine.
thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel panic - not syncing: Vfs unable to mount root Pinonoir Linux - Kernel 13 09-04-2014 08:31 PM
If I can deal with 'kernel panic - not syncing VFS: unable to mount root FS ...' nottotallystupid Ubuntu 3 08-03-2010 03:01 PM
Kernel panic - not syncing: VFS: Unable to mount root fs ? linux_mani Linux - General 1 01-23-2009 04:25 AM
Kernel panic - not syncing: VFS: unable to mount root.... nelad Ubuntu 2 04-14-2007 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 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