Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.3.1 release info here

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

New install fails to boot... [solved]

semper
Forum Novice
Forum  Novice
Posts: 11
Joined: Fri Feb 08, 2019 7:04 am

Re: New install fails to boot...

#11

Post by semper » Sat Feb 09, 2019 2:46 pm

Grub is installed to the MBR.

Here is the menu entry from grub.cfg (I hope this is what you mean)

Code: Select all

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'MX 18 Continuum' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1dce9d63-bfbb-4285-84f2-f1748b509ed2' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos10'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1dce9d63-bfbb-4285-84f2-f1748b509ed2
	else
	  search --no-floppy --fs-uuid --set=root 1dce9d63-bfbb-4285-84f2-f1748b509ed2
	fi
	echo	'Loading Linux 4.19.0-1-amd64 ...'
	linux	/boot/vmlinuz-4.19.0-1-amd64 root=UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed2 ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-4.19.0-1-amd64
}
submenu 'Advanced options for MX 18 Continuum' $menuentry_id_option 'gnulinux-advanced-1dce9d63-bfbb-4285-84f2-f1748b509ed2' {
	menuentry 'MX 18 Continuum, with Linux 4.19.0-1-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-1-amd64-advanced-1dce9d63-bfbb-4285-84f2-f1748b509ed2' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1dce9d63-bfbb-4285-84f2-f1748b509ed2
		else
		  search --no-floppy --fs-uuid --set=root 1dce9d63-bfbb-4285-84f2-f1748b509ed2
		fi
		echo	'Loading Linux 4.19.0-1-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-1-amd64 root=UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed2 ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-1-amd64
	}
	menuentry 'MX 18 Continuum, with Linux 4.19.0-1-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-1-amd64-init-systemd-1dce9d63-bfbb-4285-84f2-f1748b509ed2' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos10'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos10 --hint-efi=hd0,msdos10 --hint-baremetal=ahci0,msdos10  1dce9d63-bfbb-4285-84f2-f1748b509ed2
		else
		  search --no-floppy --fs-uuid --set=root 1dce9d63-bfbb-4285-84f2-f1748b509ed2
		fi
		echo	'Loading Linux 4.19.0-1-amd64 ...'
		linux	/boot/vmlinuz-4.19.0-1-amd64 root=UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed2 ro  quiet splash init=/lib/systemd/systemd
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.19.0-1-amd64
	}
}

### END /etc/grub.d/10_linux ###

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17974
Joined: Fri Dec 15, 2006 8:07 pm

Re: New install fails to boot...

#12

Post by Stevo » Sat Feb 09, 2019 3:14 pm

What about those read-only file system errors in the boot log? It seems to me that that's what is causing the failure to the other services to start, since they can't create a log file.

Can you boot one of the other Linuxes and check out the MX root partition?

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2931
Joined: Wed Apr 11, 2018 5:09 pm

Re: New install fails to boot...

#13

Post by fehlix » Sat Feb 09, 2019 4:13 pm

semper wrote:
Sat Feb 09, 2019 2:46 pm
Grub is installed to the MBR.
Those grub.cfg entries look ok.
Remaining bit would be to show the file /etc/fstab on /dev/sda10 (rootMX18)
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

semper
Forum Novice
Forum  Novice
Posts: 11
Joined: Fri Feb 08, 2019 7:04 am

Re: New install fails to boot...

#14

Post by semper » Sat Feb 09, 2019 4:24 pm

[/quote]
Remaining bit would be to show the file /etc/fstab on /dev/sda10 (rootMX18)
[/quote]

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed20 / ext4 defaults,noatime 1 1
UUID=15c02340-6cd5-4374-9eb0-2f7fa518f0ae swap swap defauts 0 0 

semper
Forum Novice
Forum  Novice
Posts: 11
Joined: Fri Feb 08, 2019 7:04 am

Re: New install fails to boot...

#15

Post by semper » Sat Feb 09, 2019 4:32 pm

Stevo wrote:
Sat Feb 09, 2019 3:14 pm
What about those read-only file system errors in the boot log? It seems to me that that's what is causing the failure to the other services to start, since they can't create a log file.

Can you boot one of the other Linuxes and check out the MX root partition?
I agree that those read-only errors look suspect. Why would write permission be denied?

Yes I could boot to one of the other partitions if needed. What do I need to check out? I'm currently accessing the MX root partition via the liveUSB

semper
Forum Novice
Forum  Novice
Posts: 11
Joined: Fri Feb 08, 2019 7:04 am

Re: New install fails to boot...

#16

Post by semper » Sat Feb 09, 2019 5:32 pm

Hmmm, looking again at the second fstab entry, is that a spelling mistake in "defauts" ? Should it not be "defaults" ?
I realise this relates to the swap partition, and so probably doesn't account for the read-only file system error, but should I edit it? Am I even able to edit it from the liveUSB?

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 2931
Joined: Wed Apr 11, 2018 5:09 pm

Re: New install fails to boot...

#17

Post by fehlix » Sat Feb 09, 2019 5:51 pm

semper wrote:
Sat Feb 09, 2019 5:32 pm
Hmmm, looking again at the second fstab entry, is that a spelling mistake in "defauts" ? Should it not be "defaults" ?
I realise this relates to the swap partition, and so probably doesn't account for the read-only file system error, but should I edit it? Am I even able to edit it from the liveUSB?
Looks like you have manually edited the /etc/fstab as both entries are wrong:

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed20 / ext4 defaults,noatime 1 1
UUID=15c02340-6cd5-4374-9eb0-2f7fa518f0ae swap swap defauts 0 0 
The first UUID shall probably be this same as from you grub menu enrty
and the second one has wrong misspelled "defaults" option:
You might try this one:

Code: Select all

# Pluggable devices are handled by uDev, they are not in fstab
UUID=1dce9d63-bfbb-4285-84f2-f1748b509ed2 /    ext4 defaults,noatime 1 1
UUID=15c02340-6cd5-4374-9eb0-2f7fa518f0ae swap swap defaults         0 0
Not sure about the swap UUID, better check again with

Code: Select all

lsblk -f 
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

semper
Forum Novice
Forum  Novice
Posts: 11
Joined: Fri Feb 08, 2019 7:04 am

Re: New install fails to boot...

#18

Post by semper » Sat Feb 09, 2019 7:55 pm

Actually no, the entries in /etc/fstab were exactly as I pasted them above - I checked again. I didn't spot the typo in the first UUID so thanks for that.

Anyway, I edited the fstab file with both corrections and rebooted successfully to a fresh desktop. Hurrah! Though I'm still curious as to why/how the fstab was corrupted in the first place?

Many thanks for your help fehlix.

Post Reply

Return to “Installation”