Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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).
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.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.