LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-14-2019, 04:43 AM   #1
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Rep: Reputation: 45
failure to boot Mint 19.2 EXT4 on a external WD Black 1 TB hard drive


This external western digital hard drive installed in an enclosure, is connected with eSATA to a 2012 Dell XPS desktop computer. This hard drive is fairly new as I got it early this year. And so when I try to boot up my Mint 19.2 on a 50 GB partition formatted by the MBR method not GPT, it gives error; "kernel panic not syncing- VFS: unable to mount root fs on unknown block (0,0). And I am booting other Linux installed on a internal drive okay with the Windows 7. And a 2ND error which sounds alike; " attempt to read or write outside of disk hd0. So is possibly a defective hard drive or does it need a full reformat? When I run the sudo fdisk -l from a good booting other Linux, it does show all 8 partitions okay except for the sector size; ( other drives have both listed as 512 bytes ), this drive has;
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
So why is that?

Last edited by james2b; 11-14-2019 at 05:01 AM. Reason: to add more
 
Old 11-14-2019, 09:18 AM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
How did you install Mint on the external drive? What bootloader does it use? Grub on a bios/mbr device requires it's own little partition.

Show fdisk -l or parted -l for the external drive.
Then post the grub config for it. What file system is on that external drive?
 
Old 11-14-2019, 09:31 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
james2b,

I suspect that your boot partition is full of old Linux kernels.

You can test this by booting from your original installation media (live DVD/USB). Do not install Mint.

Menu > Terminal and run:

Code:
df -h
Then run:

Code:
 dpkg --list | grep linux-image
What are the outputs?
 
Old 11-14-2019, 02:59 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
""kernel panic not syncing- VFS: unable to mount root fs on unknown block"

This I see when the boot process is not correct. For example booting to a usb flash drive but you really need to boot to a hard drive choice that is a usb.
 
Old 11-14-2019, 08:35 PM   #5
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
I partitioned and then formatted the external drive from my Windows 7, and then for Linux I used the EaseUS Partition Master. But then the fdisk -l showed some error messages about; "Partition does not start on physical sector boundary, for all 7 partitions. So to fix this issue I booted to a good Linux installed on an internal solid state drive, Ubuntu Mate 18.04, then I opened and used the GParted tool to delete and then re-create at the same size all the partitions, which did correct that issue. So then I did a new install of the Mint 19.2 over the old install which worked and booted okay at first, but then got those other boot errors latter. I installed from the iso file image on the live DVD, and chose to install the grub boot loader onto MBR of that external drive,( it gives an error when attempting to put grub onto the Mint partition boot sector. Do I need to make a separate partition just for grub? I have the Easy BCD in my 7 to configure the Windows boot loader with the primary Linux booting from grub on the internal drive with Mate 18.04.
 
Old 11-14-2019, 09:05 PM   #6
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
james2b@james2b-XPS-8500:~$ sudo fdisk -l
[sudo] password for james2b:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x231e48dd

Device Boot Start End Sectors Size Id Type
/dev/sda1 63 80324 80262 39.2M de Dell Utility
/dev/sda2 * 81920 32940031 32858112 15.7G 7 HPFS/NTFS/exFAT
/dev/sda3 32940032 1953521663 1920581632 915.8G 7 HPFS/NTFS/exFAT


Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe66a4f8e

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 104855563 104853516 50G 83 Linux
/dev/sdb2 104856256 230676479 125820224 60G 83 Linux
/dev/sdb3 230676480 234440703 3764224 1.8G 82 Linux swap / Solaris


Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x8312bb41

Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 692062207 692060160 330G 7 HPFS/NTFS/exFAT
/dev/sdc2 692062208 901793791 209731584 100G 7 HPFS/NTFS/exFAT
/dev/sdc3 * 901793792 1006659583 104865792 50G 83 Linux
/dev/sdc4 1006659584 1953523711 946864128 451.5G 5 Extended
/dev/sdc5 1006661632 1111527423 104865792 50G 83 Linux
/dev/sdc6 1111529472 1216395263 104865792 50G 83 Linux
/dev/sdc7 1216397312 1249951743 33554432 16G 82 Linux swap / Solaris
/dev/sdc8 1249953792 1953523711 703569920 335.5G 7 HPFS/NTFS/exFAT

So the sda and sdb are internal drives, and the external is sdc with some Linux as EXT3 and the problem Mint 19.2 as EXT4, also some NTFS for Windows partitions.
 
Old 11-14-2019, 09:52 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
At the grub menu hightlight the linux mint entry, press e for edit, and post what you see.
 
Old 11-15-2019, 04:14 AM   #8
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Smile

Okay I did that and got a picture of it but due to file size too big I can not attach it. insmod part_msdos, insmod ext2, set root= 'hd2,msdos3', then there is a if then statement that is all technical and then last 2 lines; linux /boot/vmlinuz-4.15.0-66-generic root=UUID=(numbers and letters), initrd /boot/initrd.img-4.15.0-66-generic. I may just buy a new Samsung 500 GB solid state drive and attempt to install it inside my external enclosure, (data and power connections should line up).
 
Old 11-15-2019, 05:18 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
You have 3 50GB partitions on the drive. Is linux mint on the third parition of the drive? Compare the uuid from the following.
Code:
blkid -o list /dev/sdc3
to the root=uuid=<some number> on the linux line of the grub menu and see if they match

Quote:
,( it gives an error when attempting to put grub onto the Mint partition boot sector
What is this error?

Last edited by colorpurple21859; 11-15-2019 at 05:32 AM.
 
Old 11-15-2019, 05:55 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Another thought, are you booting the external mint from the internal mint grub?
If so have you ran
Code:
sudo update-grub
from the internal mint?
 
Old 12-17-2019, 05:34 AM   #11
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Smile

It was booting from the internal drive Mate 18.04 grub and from the Easy BCD Windows boot manager tool. What I did was give up on it and assumed that Western Digital hard drive was defective. So I removed it from the external enclosure and deleted all the partitions, and then did a RMA back to the company. They sent me a recertified replacement drive which I have not yet opened and used. Is that type of hard drive just as good as new? Okay thanks for all the help.
 
  


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
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 06:30 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
how to auto mount ext4 external hard drive (ubuntu jaunty) pexctt Linux - Hardware 1 01-15-2009 11:58 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-04-2007 11:28 PM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:44 PM.

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