[SOLVED] Upgraded to current using slackpkg. root is no longer recognized as valid login and the OS won't load on startup
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've never tried to get network running from within a chroot. If you just want to update your config files with the new .new files, you don't need network. You can simply run:
Code:
slackpkg new-config
If you do want to get network running, I'd try running dhcpcd eth0 and see if you get an IP address.
Thanks. I managed to update the config files. But running dhcpcd eth0 got me the following:
Code:
DUID 00:04:73:9d:10:01:48:d8:11:cb:cb:a2:84:d2:4c:95:7f:4f:25
eth0: IAID 41:e2:06:ba
eth0: adding address fe80::d0de:179:8e59:7cd6
ipv6_addaddr1: Operation not supported
eth0: soliciting an IPv6 router
eth0: soliciting a DHCP lease
eth0: offered 192.168.0.39 from 192.168.0.1
eth0: probing address 192.168.0.39/24
eth0: Router Advertisement from fe80::26a7:dcff:fedb:699
eth0: adding address fde9:a858:61b8:0:f95:cb6:b8a1:5df6/64
eth0: adding route to 2a02:c7f:683:f300:c788:e693:9296:1b29/64
eth0: adding route to fde9:a858:61b1::/64
eth0: adding route to 2a02:c7f:683:f300::/64
eth0: requesting DHCPv6 information
eth0: pid -1090408939 deleted route to fde9:a858:61b8::/64
eth0: pid -91793523 deleted route to 2a02:c7f:683:f300::/64
eth0: adding route to fde9:a858:61b8::/64
eth0: adding route to 2a02:c7f:683:f300::/64
eth0: adding default route via fe80::26a7:dcff:fedb:699
eth0: pid -133700453 deleted default route via fe80::26a7:dcff:fedb:699
forked to background, child pid 610
dhcp6_openudp: Address already in use
And on reboot, the system still wouldn't get past "Loading Linux............" on the bootup screen
That output looks normal for dhcpcd and seems to show you got connected with the standard IPv4 address.
As for the Loading Linux issue, that could be due to something in your bootloader's conf file or your initrd.
Simplicity wise, it would probably be much easier to just reinstall using an ISO for -current that is automatically generated by Alien Bob. This will allow you to skip upgrading a 14.2 install to -current and any pitfalls that can occur with that.
If you do want to try and recover this system, it is most likely possible, but it might take a bit as we diagnose over the forum and may take a lot of effort on your part.
That output looks normal for dhcpcd and seems to show you got connected with the standard IPv4 address.
As for the Loading Linux issue, that could be due to something in your bootloader's conf file or your initrd.
Simplicity wise, it would probably be much easier to just reinstall using an ISO for -current that is automatically generated by Alien Bob. This will allow you to skip upgrading a 14.2 install to -current and any pitfalls that can occur with that.
If you do want to try and recover this system, it is most likely possible, but it might take a bit as we diagnose over the forum and may take a lot of effort on your part.
Thank you. I was considering reinstalling but I think I'd find the process of trying to recover it more educational. I don't mind putting in more effort if it means I get to figure out exactly why what I did did what it did.
post your /etc/lilo.conf and /etc/fstab and "ls /boot"
Contents of /etc/lilo.conf:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel paramters:
append=" vt.default_utf8=0"
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
#Standard menu
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
#Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in the tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Ask for video mode at boot (time out to normal in 30s)
vga = ask
# Normal VGA console
#vga = normal
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga = 769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = dev/sda5
label = Linux
_ read-only
# Linux bootable partition config ends
Turning on my computer and using a USB live bootable, without doing:
Code:
mount /dev/sda5 /mnt
mount /dev/sda1 /mnt/boot
mount /dev/sda6 /mnt/home
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount -o bind /run /mnt/run
chroot /mnt
Entering ls /boot/home gives me:
/bin/ls: Cannot access '/boot/home': No such file or directory
doing mount /dev/sda1 /boot gives me:
mount: mount point /boot is a symbolic link to nowhere
and doing ls /boot gives nothing but:
/boot@
After performing:
Code:
mount /dev/sda5 /mnt
mount /dev/sda1 /mnt/boot
mount /dev/sda6 /mnt/home
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount -o bind /run /mnt/run
chroot /mnt
trying ls /boot returns nothing
trying mount /dev/sda1 /boot gives:
mount: /boot: /dev/sda1 already mounted or mount point busy.
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel paramters:
append=" vt.default_utf8=0"
boot = /dev/sda
#compact # faster, but won't work on all systems.
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
#Standard menu
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
#Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in the tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Ask for video mode at boot (time out to normal in 30s)
vga = ask
# Normal VGA console
#vga = normal
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga = 769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = dev/sda5
label = Linux
read-only
# Linux bootable partition config ends
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.