Installing LM on a SSD

No harm, no foul. I saw the humor right away! And since I'm up all night working the late shift, I can assure you I'm quite sober... for now. :p:D

I've just been enjoying your picture-flipping memtesting fun while deleting all the spammers who drift in during the wee hours.

Too difficult posting from my phone though, so I'm rooting for you (get the pun?) from the sidelines. Glad you got emojis working... now for Mint! :D:D
I
I did get it, after your nudge... i would not have 2 weeks ago... lol.
I posted them on iOS. That may be the issue because they were taken upright and rotated, but show sideways... hmm
 


wizardfromoz

Super Moderator
Staff member
Gold Supporter
Downloading an old Mintie - 17.1 'Rebecca' KDE I need for your work. Should be finished in 30.

I should have said with nano that you use your direction keys to navigate, Home and End will take you to the start or finish of a line. Ctrl-x will exit you. When we change something there will be another step or two.

Back soon

Wiz
... and good morning, all
 
Sorry wizard I'm not very descriptive after I'm celebrating success! I was able to boot into Linux mint with the welcome screen and all. This was after going to a
"Linux mint Advanced boot options" then to "Linux mint kernel generic (as opposed to recovery, and upstart). I have to finish some business today but I'll get at that tonight. Hopefully with a pic, although it will most likely be sideways...
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
SOOOO awesome :D:D

I love it when a plan comes together, I do a little dance, and Elaine says "What have you done now, Sheldon?" and tries to melt my brain. Works for me.

I'll put together some stuff that should help lock this into place.

Later

Wiz
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Cheers, I've saved and will spin and then comment. On Gecko (based on OpenSUSE) at the moment, welcoming a newcomer, and Gecko does not appear to ship with GIMP (our image editor), which I will remedy later.

Wiz, back soon
 
Quick update. I wasn't able to boot this time.

I was able to get it to boot after after a few attempts though (using the method stated above).
 
Last edited:

wizardfromoz

Super Moderator
Staff member
Gold Supporter
No that's fine, and totally not unexpected, albeit irksome for you.

Positives are that you can get in, and we are going to give you the tools to lock this in cement.

GIMP (Windows users think Photoshop) showed this on the way in, with Ed's pic.



I rotated it & saved as a png (I like png's), as below



I am in a Mintie Sonya Cinnamon now, ie your environment, and mine looks as in the Spoiler

# If you change this file, run 'sudo update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=saved
#
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="profile"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
# CRAP obsolete use videoinfo
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_SAVEDEFAULT=true

Note the similarities and also some of the differences, which I have made more noticeable by bolding, italicising and colouring.

Linux does not read the stuff prefaced by #space. (The space is optional, just neat). They are human-readable comments, and we also talk about uncommenting, that is deleting the hash and the space.

The videoinfo cf vbeinfo reference we can look at elsewhere down the track if you need to adjust screen resolution to enhance a Grub Menu or screen splash logo &c.

With the line

Code:
#GRUB_HIDDEN_TIMEOUT=0
I did not put the #, and you won't have it. Linux did it with the install, because os-prober detected that I had multiple Linux, and therefore (benevolent little sucker) determined that I needed a visible Grub Menu at every boot. You get this with dual-booting Windows as well, but if you run just one (1) linux, it makes the Grub invisible.

We can remedy this in the following way, unless you like pressing Shift each time you start up, to get to those Advanced/Recovery options?

  1. Put the # in on that line, with or without a space
  2. Change the line GRUB_HIDDEN_TIMEOUT_QUIET=true to GRUB_HIDDEN_TIMEOUT_QUIET=false

At this point, we could exit, save, and be on our way, but you might want to read on first.

The above should tell Linux to boot your PC and show a Grub menu for 10 seconds, and if not told otherwise, boot into the highlighted entry. If not, we'll throw a # onto the front of the GRUB_HIDDEN_TIMEOUT_QUIET line.

The lines I have that say

GRUB_DEFAULT=saved

and

GRUB_SAVEDEFAULT=true

mean that, as a Multi-booter, Grub menu will highlight to the last Linux I was in before reboot/restart, tick away 10 secs and then boot into that one. Handy if you were working in that Distro and want to get back there automatically.

Likewise if you have a favourite Distro, we can arrange that, but elsewhere for that.

Benefit in your circumstances is that, if you find that a submenu option in Grub, eg Advanced/Recovery or choosing an older kernel that works better (with hardware &c), my method use will take you straight to that after after 10 seconds kick in.

So try making yours as close to mine as possible, and reboot.

FIRST - when exiting the edited Grub (this applies with nano or any other option) -

In nano, we're pressing Ctrl-x, which provides

Code:
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
We type in a lowercase or uppercase y, and get

Code:
File Name to Write: /etc/default/grub
... press Enter and we are out.

That has saved the file but it will not sustain changes with a reboot.

For that we need to type and enter

Code:
sudo update-grub
and once that is complete, only then do we reboot.

So try that when you have time and I will be back with more.

Wizard
 
:)Wizard you've outdone even yourself on this post and I have to say thanks. I am impressed even more so than usual. I'll give this a go tomorrow!:D:D
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Crikey, he's dangerous now he's found those emoji. :eek:

Thank me when it works. Sleep well.

I am off to blow up some Distros and fix them.

Wiz
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
There is an important bit or two of housekeeping that should be performed before we go anywhere further.

When you are in an operable session of your Mintie, go to Terminal (Ctrl-Alt-t in Debian-based Distros) and type in and enter

Code:
sudo ufw enable
You will be prompted for your password (no movement for security purposes) type it and enter.

You will be rewarded with a message

Code:
Firewall is active and enabled on system startup
This has enabled ufw – (the Uncomplicated Fire Wall) and generated a startup script that will operate following each reboot but is in place now.

Between ufw and any firewall your router has, you may not ever have a need of anything else, though we can steer you to antivirus software operating under Linux.

Some Distros, in particular those under different Families, may not have ufw but you can either install it (I have, on some, to expedite Folder Sharing) or use their own.

NEXT is about TRIM. This applies to users of SSDs – solid state drives.

If yours is a brand spanking new SSD & this is the first Linux you have put on it (as is the case with the OP), you want to look after it.

I haven’t got an SSD yet, but atanere and others may help more here.

I have read opensource’s https://opensource.com/article/17/1/solid-state-drives-linux-enabling-trim-ssds a couple of times, and that has helped me to understand it a little better. Google search keywords were simply “linux trim ssd”.

Where it says (can’t repeat a lot because we have to watch copyright)

Trimming your SSD can also be accomplished manually on the command line or in a cron job
… ask us about cron and anacron what are they? In an appropriately titled thread if you wish.

Suffice it to say that a “daemon” runs and monitors certain processes all the time you are in session. A cron job runs at times you the User schedule, and anacron jobs run at times linked to events, eg startup, shutdown, &c.

Cheers

Wizard

(edited typos)
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
... and just when you thought it was safe to go back into the water, can you tell me, from #55 page 3, the outcomes of:

sudo update-grub

df output showing where bootloader is installed, or whether you remember during the install setting it to /dev/sda or /dev/sda1 or it did it for you

and

sudo grub-install /dev/sda or /dev/sda1.

Cheers

Wiz
 
Hey everyone. A little update. Firstly apologies for being away I've been busy. So I attempted your solution wizard and I don't appear to have more success booting. I think I updated the grub successfully. However when booting I still get errors. They do appear to be slightly different errors. The errors themselves are the same ("loading outside hd0" "kernel panic" etc.) however the order they come in after the option I pick from boot menus appear to be different. :confused: Hmm...
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
That's OK mate, my wife Elaine tells me that people have a life outside of Linux and computers, but I just laugh as I know she is pulling my leg.

Gotta go and pick her up but can you give me the output of

Code:
df

#and

blkid
?

Cheers
 
I'll try to get in but last I checked the command line wasn't able to get in either. This business about lives is simply an excuse :D (joking).
Seriously though enjoy your evening and do something with your wife, linux will be there tomorrow, even mine!
 

wizardfromoz

Super Moderator
Staff member
Gold Supporter
Hi Mate

I am a huge fan of gpt over msdos, for partition structure, but this is not about my interests, but rather getting you up and running.

I am inclined to think that your interests may be better served by

  • Initiating a reinstall of your Mintie
  • Choosing to have the entire disk dedicated to that Linux
  • As part of that, getting the installer to opt for msdos over gpt
  • See how you go
We can always look at other options after we get you up & running, and if me Auntie had balls she'd be me Uncle ... but the main issue is to get you a Linux you can rely on to boot.

Cheers

Wiz
 

atanere

Well-Known Member
Wow. I think this is the most difficult (modern) install I've ever encountered. There is much to be learned from all the work, but I keep asking myself if we have just missed something more simple or basic? It is usually just not this hard.

So, let me grasp at another straw briefly... please get into your BIOS/UEFI setup and look for "SATA controller mode." It should be in there somewhere. If it is not set to AHCI, please set it to that and save changes. Let us know.

If the "SATA controller mode" setting was IDE or RAID, changing it might or might not be an immediate fix, so a reinstall still might be necessary. I just read on a HP website that changing this setting might prevent it from booting, so a reinstall may even be required if you actually change this setting.
 
Hey guys I completely agree with the final two points. It's encouraging to know it's not like this normally. My goal is to have a stable and reliable system. If it's this picky it might be a problem in the future. I'm guessing we are missing something clear. Let me think a bit but I'll also attempt atanares ideas. This also was occurring with the boot from the USB, so my guess is the computer hardware or setting, not the ssd or hdd but I'm a noob:cool::D
 
Hey fellas. So I tried to change the settings in the bios but they don't have the option. Apparently this is a bit of a problem with hp laptops but I couldn't quite figure it out. I think ahci is the default however you can't change it. I'm going to look into this a little more. I did get into mint and did a driver update. There was one driver that needed an update, something with the firmware, I'm wondering if this might have an effect. Unfortunately when I try to restart to save the change it encounters the same problem. So if this is the problem it's just a matter of multiple attempts!
 


Members online


Latest posts

Top