LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-07-2017, 03:18 AM   #1
kernelalive
LQ Newbie
 
Registered: Apr 2017
Posts: 3

Rep: Reputation: Disabled
Problem with 2nd sata drive (SSD) !!


Hello guys and thank you for your time!
I face a problem and i would like your help.I have a laptop (Dell inspiron 15) and about a month ago i bought an SSD to speed it up a little. I removed the DVD drive and replaced it with my new SSD. The first hard drive(HDD) consist of two partitions (one windows ,one linux) and what i wanted to do was to clone the linux partition on my new SSD leaving windows alone. And so

I cloned linux partition on the new SSD with clonezilla
I changed the UUID of the new partition because cloned partition had the same with the original
I edited fstab to point the new UUID and updated grub

My problem is that Grub2 detects all the partitions correct(even the new one on the SSD) but when i try to boot into the new partition it shows me error like :

error: no such device with UUID .....
error: hd1 cannot get C/H/S values
error: need to load the kernel first


Any suggestion would be much appreciated..
 
Old 04-07-2017, 03:56 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You haven't listed the partitions, and that would help.


It looks like grub is scratching around on hd0 looking for the details of hd1. EFI complicates things. One workaround would be to have /boot on hd0, if you can work it.
 
Old 04-07-2017, 04:02 AM   #3
kernelalive
LQ Newbie
 
Registered: Apr 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
business_kid thx for you fast reply!!
Let me give you some more info
Here is the boot-repair summary report:

http://paste.ubuntu.com/24332688/
 
Old 04-07-2017, 07:56 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Wonder if the drive is tied to bios settings. Check that bios doesn't hold that slot as a dvd drive still???

https://ubuntuforums.org/archive/ind...t-1479070.html
 
Old 04-08-2017, 03:52 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I take it that SDC is some usb key. I would get all kernels onto sda3 to give it the best chance of booting from them. It's no issue having /boot on one partition and / on another or even another drive. Grub's automatic setup might not handle that however.
 
Old 04-08-2017, 10:08 AM   #6
kernelalive
LQ Newbie
 
Registered: Apr 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
Guys thx for your time!
Look what is going on...
Jefro bios detects the SSD as shown in the bios main page but in the boot order menu it shows cd/DVD and only one HDD and no SSD which is weird. But i can t find any way to change that.

In my opinion it is a problem with the UUID of the SSD.
blkid shows :
/dev/sda1: LABEL="System Reserved" UUID="7C482C91482C4C68" TYPE="ntfs" PARTUUID="0084aa6b-01"
/dev/sda2: UUID="C4DE45AEDE459A16" TYPE="ntfs" PARTUUID="0084aa6b-02"
/dev/sda3: UUID="70aa8665-390f-45e4-960c-87078c8c6868" TYPE="ext4" PTTYPE="dos" PARTUUID="0084aa6b-03"
/dev/sdb1: UUID="74bd3f6c-f950-4ecf-a70f-458fc0181502" TYPE="ext4" PARTUUID="aaa5161f-01"

But in grub when i select boot from sdb1 (ubuntu) throws that weird error that cannot find that UUID (74bd3f6c-f950-4ecf-a70f-458fc0181502).
 
Old 04-10-2017, 03:10 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
If your bios is locked somehow then you will have to boot to grub on hard drive then maybe chain over to the next drive.
 
Old 04-11-2017, 10:41 AM   #8
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
kernelalive,

First, backup your personal data.

It may be a good idea to burn Rescatux to CD or USB drive and then attempt a repair:

http://www.supergrubdisk.org/wizard-...with-rescatux/
 
Old 04-11-2017, 11:57 AM   #9
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
for your BIOS as your laptop is one that you can swap out the DVD with another HDD it should have in the BIOS secondary HDD Listed in there somewhere. It all depends on the person in how he wrote the BIOS. SO where or what heading it'd be under is anyone guess.
 
Old 04-11-2017, 01:26 PM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi kernelalive,

If this is the first time you are trying to boot from an SSD, check if your BIOS has an option to use AHCI or IDE (ATA) for fixed drives and if it does, make sure it is set to AHCI.
 
1 members found this post helpful.
Old 04-12-2017, 08:15 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
If you look at the grub.cfg file for sda3 (Your original Ubuntu) the first dozen or more kernel entries have a set root line pointing to sda3 with the UUID for sdb1 which is probably confusing Grub. If you use the down arrow key on your keyboard on boot to go past the windows entry, you should see a number of additional Ubuntu entries. These all point to (hd1,msdos1) which is sdb1 and they have the correct UUID for sdb1. Try that and see if the Ubuntu on the SSD boots. Or you could simply change the first Ubuntu entry set root line to (hd1,msdos1), save it and reboot without updating grub.

If the above works, you know what the problem is. If you plan on removing the Ubuntu on sda3 this isn't going to help. The best solution if you plan to remove Ubuntu from sda3 and use the Ubuntu on sdb1 would be to set the SSD to first boot priority as it has the correct entries. I don't know why you can't do that.

If you still have your windows installation DVD, you might want to install windows to the MBR of the first disk to keep them separate, if you want. You should still be able to boot Ubuntu and windows from the SSD, that is if you can get the SSD to first boot priority.

Last edited by yancek; 04-12-2017 at 08:24 AM.
 
Old 04-12-2017, 08:33 AM   #12
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by yancek View Post
If you still have your windows installation DVD, you might want to install windows to the MBR of the first disk to keep them separate, if you want. You should still be able to boot Ubuntu and windows from the SSD, that is if you can get the SSD to first boot priority.
commenting on that Idea. I once did something similar. I set my first hdd sdd 256GB then secondary (DVD bay) Hdd 1TB (hybrid) - installed Windows onto the secondary, and put Linux on my primary (sdd).

(only to end up moving (cloned widows to my sdd) then installed Linux onto it. two separate OSes then separated sdd windows 3 partitions (because that is what windows does) then / root / root /home secondary is storage.

That way whenever I do have to go into Windows it still boots really fast too.

though like the others and I have said. you just need to straighten out your grub.cfg

If you cannot boot into an installed Linux. personally. I would burn supergrub2 onto a usb stick. use that to find all boot methods. boot into an Linux install then reinstall grub /dev/sda , then update-grub.

Like the other stated. if you eventually find a valid boot entry in the listings you have right now. Then when you do get into Linux then just do the later.

grub-install /dev/sda (if that is what HDD you want the boot loader on)
update-grub

so grub.cfg can get straightened out.

Last edited by BW-userx; 04-12-2017 at 08:35 AM.
 
  


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
2nd SATA drive and BIOS Andrew Chapman Linux - Newbie 4 11-17-2006 03:09 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
mounting 2nd (sata) hard drive on 10.1 rob0t Slackware 6 08-15-2005 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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