LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2019, 07:43 AM   #1
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Rep: Reputation: Disabled
Laptop: Fails to mount the root partition.


Hello dear slackers,

today i have installed current on my laptop and if i want to restart now, i will be forwarded directly to the rescue shell.. The installation itself was executed with no errors.

Unfortunately, I can't find out much from the logs, maybe you?

Picture: https://cdn.discordapp.com/attachmen...703_141106.jpg

As always, i am very grateful for any help i can get.

More information about the laptop:

Model: HKC NT11H: 29 cm (11 Zoll)
Boot: UEFI (Only)
CPU: Intel Atom x5-Z8350 1.44 GHz
RAM: 2 GB RAM
Storage: 32 GB eMMC
GPU: Intel HD Graphics 400

My partitions:

/dev/mmcblk0p1 512M EFI
/dev/mmcblk0p2 500M Swap
/dev/mmcblk0p3 27GB Root
 
Old 07-03-2019, 09:31 AM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Can you boot up this laptop with the install CD and then get a command prompt. Once on the CLI run:

Code:
fdisk -l
This will give a listing of what partitions you have on the disk.

To be honest while you might not have seen any errors when installing from the looks of the attached picture something didn't go right.
 
Old 07-03-2019, 10:00 AM   #3
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lazydog View Post
Can you boot up this laptop with the install CD and then get a command prompt. Once on the CLI run:

Code:
fdisk -l
This will give a listing of what partitions you have on the disk.

To be honest while you might not have seen any errors when installing from the looks of the attached picture something didn't go right.
Thanks for your response

fdisk-l

Device Start End Sectors Size Type
/dev/mmcblk0p1 2048 1050623 1048576 512M EFI Systems
/dev/mmcblk0p2 1050624 2074623 1024000 500M Linux swap
/dev/mmcblk0p3 2074624 61071326 58996703 28.1G Linux filesystem
 
Old 07-03-2019, 10:03 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
what bootloader are you using and are you booting the huge or generic kernel?
 
Old 07-03-2019, 10:13 AM   #5
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
what bootloader are you using and are you booting the huge or generic kernel?
elilo & 4.19.56
 
Old 07-03-2019, 11:22 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
are you using an initrd.gz when booting?
 
Old 07-03-2019, 11:43 AM   #7
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
are you using an initrd.gz when booting?
I didn't change the boot process after installation, should this be something optional.
 
Old 07-03-2019, 12:20 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
post your /etc/fstab, elilo.config and the output of
Code:
 blkid
parted -l
 
Old 07-03-2019, 12:33 PM   #9
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
You have a relevant recent post for this in the Slackware installation forum:

https://www.linuxquestions.org/quest...ns-4175644615/

Seems like due to the special disk configuration you will need to do some steps after installation.
 
Old 07-03-2019, 12:41 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
This line in your boot log puzzles me:
Code:
mount: mounting /dev/mmcblk0p3 on /mnt failed: No such file or directory
Please start the installer, then once logged in as root type this command and post its output:
Code:
lsblk -l -o name,size,fstype|grep mmcblk0p3
Then type:
Code:
mount /dev/mmcblk0p3 /mnt
Then post the output of:
Code:
cat /mnt/etc/fstab|grep "/ "
Still, I don't understand why the root partition would be mounted on /mnt while booting.
 
Old 07-03-2019, 01:01 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Alexander88207 View Post
I didn't change the boot process after installation, should this be something optional.
The "exports duplicate symbol", the wad of "insmod" lines and the final error about mounting the root partition on /mnt are all proof of an initrd that is loaded together with a huge kernel.
Now, the Slackware installer does not create an initrd for you. Either you did that yourself, or you did not install Slackware.

Can you tell us more about how you installed -current? Where did you obtain the boot image? How did you boot that image? From a CD, a USB stick, the network?
What did you do after the installer reported that it was done and suggested Ctrl-Alt-Del, and before you actually performed the reboot?
 
Old 07-03-2019, 01:51 PM   #12
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
The "exports duplicate symbol", the wad of "insmod" lines and the final error about mounting the root partition on /mnt are all proof of an initrd that is loaded together with a huge kernel.
Now, the Slackware installer does not create an initrd for you. Either you did that yourself, or you did not install Slackware.

Can you tell us more about how you installed -current? Where did you obtain the boot image? How did you boot that image? From a CD, a USB stick, the network?
What did you do after the installer reported that it was done and suggested Ctrl-Alt-Del, and before you actually performed the reboot?
1. Downloaded the ISO from here http://bear.alienbase.nl/mirrors/sla...4-current-iso/
2. Flash the ISO to 2 USB Hard Drives (The ISO on HHD and the sources on SSD)
3. Boot into the ISO and create with cfdisk the following partitions:
/dev/mmcblk0p1 512M EFI
/dev/mmcblk0p2 500M Swap
/dev/mmcblk0p3 27GB Linux Filesystem

4. Selected the Swap, Root and EFI partition

5. Selected to install from a Hard Drive partition (SSD)

6. Installing...

After Installing a ramdisk for the generic kernel was created!

7. Skip making a USB boot stick

8. Skip Installing LILO and proceed to ELILO Installation

9. Install ELILO on the EFI System Partition

10. Install a boot menu entry

11. Deny the GPM Configuration

12. Configured the network, time etc...

13. Select reboot now

14. Reboot wont work and i had to press the power button for 5 seconds

15. Press power again and start

This is how i have installed it on my gaming rig and it works.

Last edited by Alexander88207; 07-03-2019 at 01:59 PM.
 
Old 07-03-2019, 02:58 PM   #13
Alexander88207
LQ Newbie
 
Registered: Jun 2019
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
This line in your boot log puzzles me:
Code:
mount: mounting /dev/mmcblk0p3 on /mnt failed: No such file or directory
Please start the installer, then once logged in as root type this command and post its output:
Code:
lsblk -l -o name,size,fstype|grep mmcblk0p3
Then type:
Code:
mount /dev/mmcblk0p3 /mnt
Then post the output of:
Code:
cat /mnt/etc/fstab|grep "/ "
Still, I don't understand why the root partition would be mounted on /mnt while booting.
lsblk -l -o name,size,fstype|grep mmcblk0p3 = mmcblk0p3 28.1G ext4

cat /mnt/etc/fstab|grep "/ " = /dev/mmcblk0p3 / ext4 defaults 1 1
 
Old 07-03-2019, 06:01 PM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Alien Bob View Post
The "exports duplicate symbol", the wad of "insmod" lines and the final error about mounting the root partition on /mnt are all proof of an initrd that is loaded together with a huge kernel.
Now, the Slackware installer does not create an initrd for you. Either you did that yourself, or you did not install Slackware.
I thought -current now creates initrds for you automatically during the install.

Code:
+--------------------------+
Wed Jan 23 22:02:34 UTC 2019
--snip--
a/mkinitrd-1.4.11-x86_64-9.txz: Rebuilt.
       Automatically generate an initial ramdisk from the installer.
       Added 'geninitrd' script to generate an initial ramdisk for the kernel that
       /boot/vmlinuz-generic (and/or /boot/vmlinuz-generic-smp) points to.
--snip--
In fact, I checked on my HTPC which I installed using a -current ISO from 23ish May and it had created an initrd and boots the huge kernel by default on UEFI hardware and using elilo. I didn't do anything manually on that system during the install. The installer prompted to use elilo. I agreed, and at some point it built the initrd, and eliloconfig moved the initrd and the huge kernel (named as simply vmlinuz -- I compared filesizes to what was stored in /boot) to the EFI partition and setup the elilo.conf.
 
Old 07-04-2019, 12:56 AM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bassmadrigal View Post
I thought -current now creates initrds for you automatically during the install
Thanks for reminding me ;-) I had forgotten, and have not done a fresh -current install in 2019.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smb mount folders disappear on mount & konqueror smb fails: network unreachable tisource Linux - Networking 1 10-17-2007 12:30 AM
help please: mount -t smbfs -a fails as normal user, as root, doesn't mount anything thevic Linux - Networking 11 04-09-2007 03:09 AM
Mount. Umount. Mount. Umount. Mount. Umount. Mount.. cwizardone Slackware 10 03-22-2007 09:30 AM
Encrypted Reiserfs Fails to Mount -- Reiserfsck Fails as Well antic Linux - Hardware 0 07-30-2004 04:32 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration