Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[solved] Reinstalling grub, but what do I pick?

Help for Current Versions of MX
User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

[solved] Reinstalling grub, but what do I pick?

#1

Post by Eadwine Rose » Thu Jun 06, 2019 3:40 am

Can't boot MX anymore. Here is what I did:

I have a system with removable SSD drives, total of 4 in a bay. Till today there were two drives in there, 1.MX and 2.Win10 install. Worked peachy.

Today I wanted to put those other two drives in, empty them up and then leave them in there so they don't collect dust on a table somewhere. Removed the MX and Win10 drive from the system to make sure I didn't make a booboo, removed the partitions of SSD 3+4 with gparted and left stuff unallocated.


Then I put the MX and Win10 drives back in and expected to boot from MX again. Nope. Win10 showed up.

Going in the bios I can only select the Win10 drive as a boot option. Sheesh... ok... take Win10 out, see what gives, nope blue screen. Bios doesn't see the MX drive anymore. :confused: I can still see it in gparted so it IS there.



All 4 drives are in the system now and connected.

I figure MX needs a boot repair done to it?
I installed with UEFI, ESP partition, I can select that in boot repair.
Then it wants to know the /boot location. I wager that is my root partition on MX?



So yeah.. something I did wasn't right, but this is how I always did things, and apparently I need to change that.

Right now I would just like to get back into MX on drive 1. Boot repair is the way to go I wager with ESP and root selected?


Just bit that bullet.. Let's see.

Oof.. ok, back in my installed MX again.. whew.


Can someone tell me why MX wasn't seen anymore?
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1438
Joined: Tue Jan 08, 2019 4:47 am

Re: [solved, but can someone tell me what went wrong?] Reinstalling grub, but what do I pick?

#2

Post by JayM » Thu Jun 06, 2019 4:10 am

Is your fstab mounting your drives by sdX device name (/dev/sda, /dev/sdb, etc.) or by their UUIDs (/dev/disk-by-uuid/X)? If it's using the /dev/sdX names one of the new drives may have been assigned the sdX name that was used by your X drive, and the MX drive given a new name (sdc or sdd.) It's just like how older Windows assigns drive letters: it assigns them in the order in which they happen to be detected at boot. That's why it's always best to use the UUIDs because those won't change like the sdX names can. Does that make sense?

(Maybe UEFI does something similar, I don't know.)
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

Re: [solved, but can someone tell me what went wrong?] Reinstalling grub, but what do I pick?

#3

Post by Eadwine Rose » Thu Jun 06, 2019 4:18 am

Yes that definitely makes sense! I had the slip up happen when I changed the external SSD USB connector to a different USB port because the thing was being slow as molasses (it's compatible with USB3.0 they say.. ya right, it went back to normal when I plugged it into a USB2.0 port ;) ).

But that messed up the sda sdb and such entries in conky as sometimes the external drive got seen as sdb and sometimes sdc. Had to unmount the thing, clear the disk manager checkmark, reboot, and then mount the thing and put its check back in disk manager. That sorted that one.

So I understand the sdX things you're talking about.


Here is my fstab. Only Linux gets seen, not Win10. Fine with me. It wasn't seen from the getgo in there. I do not feel a need to change that so I am keeping my hands clean there ;) A bit like "if it ain't broke" ;)



Mind.. things are working again normally thank goodness!

Code: Select all

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sda2 :
UUID=8d197a2c-3fec-4093-81e1-93c424a41199	/	ext4	defaults,noatime	1	1
#Entry for /dev/sda1 :
UUID=19A6-252B	/boot/efi	vfat	defaults,noatime,dmask=0002,fmask=0113	0	0
#Entry for /dev/sdc1 :
UUID=80C0EA95C0EA9128	/media/eadwine/Seagate\040Backup\040Plus\040Drive	ntfs	defaults,nodev,nosuid,uid=1000,gid=1000,uhelper=udisks2	0	0
#Entry for /dev/sda4 :
UUID=c31304ac-1378-4040-a0c6-a46d756c0137	/home	ext4	defaults,noatime	1	2
#Entry for /dev/sda3 :
UUID=96866fab-e802-4873-a457-4cb0bae25385	swap	swap	defaults	0	0
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1438
Joined: Tue Jan 08, 2019 4:47 am

Re: [solved, but can someone tell me what went wrong?] Reinstalling grub, but what do I pick?

#4

Post by JayM » Thu Jun 06, 2019 4:25 am

It's counter-intuitive but it probably would have been better to leave your Windows and MX drives plugged in when you added the other to. Then maybe they'd have been detected as being additional drives rather than replacements of the existing ones. OTOH I don't really know what I'm talking about as I don't have a new hotshoe machine with hot-swappable drives like some people I know. :grin:
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

Re: [solved, but can someone tell me what went wrong?] Reinstalling grub, but what do I pick?

#5

Post by Eadwine Rose » Thu Jun 06, 2019 4:28 am

LOL yeah, in hindsight I should have done that indeed. It is typical because on the OLD system it never gave any issues that way. Much older BIOS that I guess was not as finicky.



Ah well.. no harm no foul, just a few nerves that died and a year taken off my lifespan ;) :laugh:
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1438
Joined: Tue Jan 08, 2019 4:47 am

Re: [solved] Reinstalling grub, but what do I pick?

#6

Post by JayM » Thu Jun 06, 2019 4:39 am

One thing I love about MX and antiX is the ability to create personal ISOs of my operating systems as installed. Now, as long as I have a fairly recent snapshot of my own system, what would ordinarily be a disaster that takes a fresh from-scratch reinstallation, then reconfiguring absolutely everything and reinstalling apps to get things back to where they were becomes a just a minor annoyance. "*sigh* Darn, I guess I pooched my system big time. Now I need to reinstall from my snapshot then restore my data. That's going to take almost an hour!" And then a mere hour later things are right back to exactly where they were before I started mucking with stuff, as long as my snapshot was current, vs. hours or days reinstalling apps and reconfiguring the OS all over again. I love it!
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

Re: [solved] Reinstalling grub, but what do I pick?

#7

Post by Eadwine Rose » Thu Jun 06, 2019 4:51 am

Yeah I have tried creating a snapshot in the past. The old system would seriously choke on the load, temps way up high, swap partition filling up to the max and basically it would kill the system if I had left it running. Had to cancel out.

I guess I can look into that again and see what gives on this new system.
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
JayM
Forum Guide
Forum Guide
Posts: 1438
Joined: Tue Jan 08, 2019 4:47 am

Re: [solved] Reinstalling grub, but what do I pick?

#8

Post by JayM » Thu Jun 06, 2019 5:42 am

Eadwine Rose wrote:
Thu Jun 06, 2019 4:51 am
Yeah I have tried creating a snapshot in the past. The old system would seriously choke on the load, temps way up high, swap partition filling up to the max and basically it would kill the system if I had left it running. Had to cancel out.

I guess I can look into that again and see what gives on this new system.
That's odd. IIRC your old system is better than my current one and I've never had those issues when making a snapshot. It does run warmer because CPU utilization is kind of high when it's making the squash file system but it's never maxed out my RAM to the point where it needs to use the entire swap file or caused the entire system to become unusable while it was running.
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

Re: [solved] Reinstalling grub, but what do I pick?

#9

Post by Eadwine Rose » Thu Jun 06, 2019 5:54 am

Yeah.. there are other little quirks the old system has that this one does not. When I turned the old one off the external Seagate SSD would start beeping until I flipped the PSU switch. On this one it doesn't seem to be doing that (have to check more on that though). Same when I turn the PSU on in the morning, on the old system the light of the Seagate would come on right then, on this system it stays off until I push the power button.


It's just little things that I find are different.


And that HDD thing I encountered just earlier hahaha!
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 8677
Joined: Wed Jul 12, 2006 2:10 am

Re: [solved] Reinstalling grub, but what do I pick?

#10

Post by Eadwine Rose » Thu Jun 06, 2019 5:57 am

Running the snapshot thing now.. all 8 cores at 100%, wait and see what the system does. No abnormal use of ram just yet, 21.5G of the 32G total at the moment. Snapshot at 40%.

edited to add: value according to conky, it adds cache as well, so changed the no-buffer to true after the creation instead of false to show the actual ram in use now.


And done! First snapshot ever. CPU temp held nicely at 55 tops, the fan responded accordingly. :)
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

Post Reply

Return to “MX Help”