Unable to boot. (solved)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

I will grant you that the instructions on dedoimedo's page are a little hard to follow.
I will try to simplify them.
Using the live Mint, you need to mount your / partition, sda6

Code: Select all

sudo mount /dev/sda6 /mnt
Then enter each of these commands:

Code: Select all

for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

Code: Select all

sudo chroot /mnt

Code: Select all

update-initramfs -u

Code: Select all

grub-install --recheck /dev/sda

Code: Select all

update-grub
Press CTRL-D to exit chroot
Press CTRL-D again to exit the terminal
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot.

Post by Reorx »

Of note: The original problem in the original thread was low disk space on /... and that problem still exists... Somewhere along this adventure, the OP should shrink SDA7 to make room to expand SDA5 - unless of course the plan is to convert the partition labelled DATA to a separate /home partition.
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo »

austin.texas wrote:I will grant you that the instructions on dedoimedo's page are a little hard to follow.
I will try to simplify them.
Using the live Mint, you need to mount your / partition, sda6

Code: Select all

sudo mount /dev/sda6 /mnt
.....................................l
After this command, the result was:
/dev/sda6 looks like swapspace - not mounted
mount: you must specify the filesystem type

Thanks for coming back to my assistance.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

Wompoo wrote: After this command, the result was:
/dev/sda6 looks like swapspace - not mounted
mount: you must specify the filesystem type
Thanks for coming back to my assistance.
Sorry, that was my mistake. Your root partition was originally sda6. Now it shows as sda5
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo »

I ran the commands listed above and after this command:

Code: Select all

 sudo chroot /mnt
I received a mint / header in the colour red.

I continued entering the commands in turn until I got to:

Code: Select all

 grub-install --recheck /dev/sda
Then I received the error notice: failed to get canonical path of ' /dev/sda5'
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

Wompoo wrote:I ran the commands listed above and after this command:

Code: Select all

 sudo chroot /mnt
I received a mint / header in the colour red.

I continued entering the commands in turn until I got to:

Code: Select all

 grub-install --recheck /dev/sda
Then I received the error notice: failed to get canonical path of ' /dev/sda5'
Did you enter sda5 or sda ? It should be sda
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo »

I entered sda
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

A lot of times some of those "canonical" and "cow" error messages in this process can be ignored.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo »

I still get the same error message after the last command.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

Try it without the "recheck", just

Code: Select all

grub-install /dev/sda
Then exit and see if Mint boots from the hard drive.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo »

Still no good doing that. Error notice
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

What happened when you tried to boot the hard drive?
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas »

Maybe your partition and your fstab are inconsistent after the changes made.
To check, mount your / partition, sda6, again, like before:

Code: Select all

sudo mount /dev/sda6 /mnt
Then post here the results of the commands:

Code: Select all

cat /dev/sda6/etc/fstab

Code: Select all

inxi -pou
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot.

Post by Reorx »

Wompoo wrote:Please advise how I ensure that I have burned the disk correctly. I tried it twice, but with little indication that I could tell that is was burnt correct... I will go back to the .iso and try another burn. I would burn it on this computer, but it is a 64 bit and so not compatible.
You can burn the ISO to a disk on any computer. 64 bit doesn't matter... I D/L-ed the ISO and burned it to a disk on my LM17C64 system (using Brasero) and the disk boots just fine. The utility is text based & menu driven. I poked around a bit - it's not exactly "intuitive".
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Success!

Post by Wompoo »

I got it to boot using the chroot system described yesterday by Austin.
I was making a very silly mistake - quite embarrassing.
I was using a Linux Mint 17.3 boot disk to work on the problem computer which is loaded with LM 17.1
I found an older disk, the right one, put it in and the chroot commands flowed smoothly through the process.

I apologise profusely for giving you and Reorx additional unnecessary bother.

Many thanks for seeing it through with me.

Now, back to Reorx caveat that I will still have to resize that DATA partition. Please advise just how much, any dangers inherent etc. etc.
I am unable to open the new DATA partition or to save a file into it. "Permission Denied"
Do I have to "mount it" or something else?
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot. (solved)

Post by Reorx »

Is the "DATA" partition (SDA7) for sharing data between Win and Mint or is it just for your Mint data? I assume it is just for your Mint data because you have intentionally formatted it to ext4. If my assumption is correct, instead of resizing any partitions, you could just move the data from your /home folder to the DATA partition which will free up space on SDA5 (probably about 20GB). Austin will be able to walk you thru the process of fixing the permissions on SDA7 and then auto-mounting it @ boot up...
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Success!

Post by austin.texas »

Wompoo wrote:I am unable to open the new DATA partition or to save a file into it. "Permission Denied"
Do I have to "mount it" or something else?
Yes, you will have to move some of your personal files from sda6 to the new data partition to make room.
But first, to get the drive mounted as a data partition, please post the result of the commands:

Code: Select all

cat /dev/sda6/etc/fstab

Code: Select all

inxi -pou
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot. (solved)

Post by Wompoo »

Reorx wrote:Is the "DATA" partition (SDA7) for sharing data between Win and Mint or is it just for your Mint data? .........................
I am planning on using it just for my Mint data.

Austin,
Here is the result of those commands in terminal:

Image
Last edited by Wompoo on Fri May 13, 2016 5:05 pm, edited 1 time in total.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot. (solved)

Post by Reorx »

Wompoo wrote:
Reorx wrote:Is the "DATA" partition (SDA7) for sharing data between Win and Mint or is it just for your Mint data? .........................
I am planning on using just for my Mint data.
Perfect! :D No need to resize anything - just move data once you get permissions and fstab straightened out.

Happy Minting!
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot. (solved)

Post by austin.texas »

You can boot into MInt on the hard drive.
Make a directory named DATA (not data) to use as a mount point.

Code: Select all

sudo mkdir /DATA
Take ownership of that directory:

Code: Select all

sudo chown $USER:$USER /DATA
Open /etc/fstab in your text editor:

Code: Select all

gksudo gedit /etc/fstab
Add these 2 lines to the end of fstab:

Code: Select all

# mount sda7 on /DATA
UUID=803662ac-d6d2-4ed0-963a-2b54fef465c2   /DATA   ext4   defaults,noatime   0   2
Save and exit the editor.
To mount the partition enter:

Code: Select all

sudo mount -a
- OR you can reboot.
Now you can make folders (like NewMusic, Photos, etc.) and save your personal files on /DATA

If you make a folder on /DATA you can create a symlink to that folder in Nemo by holding SHIFT down and dragging the folder you created into your existing /home/username folder.
Or you can just create Bookmarks in Nemo.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Locked

Return to “Installation & Boot”