Unable to boot. (solved)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 5:45 pm

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 11
Level 11
Posts: 3931
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot.

Post by Reorx » Thu May 12, 2016 5:51 pm

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 LM19 Cinnamon.

Image Image

Wompoo
Level 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo » Thu May 12, 2016 6:02 pm

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 #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

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

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 6:15 pm

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 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo » Thu May 12, 2016 6:38 pm

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 #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

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

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 6:45 pm

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 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo » Thu May 12, 2016 6:48 pm

I entered sda
Desktop PC #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

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

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 7:12 pm

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 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo » Thu May 12, 2016 7:35 pm

I still get the same error message after the last command.
Desktop PC #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

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

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 7:40 pm

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 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot.

Post by Wompoo » Thu May 12, 2016 8:01 pm

Still no good doing that. Error notice
Desktop PC #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

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

Re: Unable to boot.

Post by austin.texas » Thu May 12, 2016 11:52 pm

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: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Unable to boot.

Post by austin.texas » Fri May 13, 2016 12:03 am

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 11
Level 11
Posts: 3931
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot.

Post by Reorx » Fri May 13, 2016 12:44 am

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 LM19 Cinnamon.

Image Image

Wompoo
Level 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Success!

Post by Wompoo » Fri May 13, 2016 4:07 am

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 #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
Reorx
Level 11
Level 11
Posts: 3931
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot. (solved)

Post by Reorx » Fri May 13, 2016 8:02 am

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 LM19 Cinnamon.

Image Image

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

Re: Success!

Post by austin.texas » Fri May 13, 2016 8:07 am

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 5
Level 5
Posts: 954
Joined: Sat Dec 28, 2013 2:42 am

Re: Unable to boot. (solved)

Post by Wompoo » Fri May 13, 2016 3:30 pm

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 #2
Linux Mint 19 KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
Reorx
Level 11
Level 11
Posts: 3931
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Unable to boot. (solved)

Post by Reorx » Fri May 13, 2016 4:18 pm

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 LM19 Cinnamon.

Image Image

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

Re: Unable to boot. (solved)

Post by austin.texas » Fri May 13, 2016 7:24 pm

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

Post Reply

Return to “Installation & Boot”