Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
02-04-2014, 02:27 AM
|
#1
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Rep:
|
Slackware64 14.1 won't boot...
Hi all,
It took a while fiddling with it first using parted magik and then gdisk with the Slackware DVD, but finally got it actually installed.
For a little more than an hour, I got online, downloaded a couple things, and even built Krusader (I hate Dolphin and pretty much any other file manager compared to it!) and got it up and running.
Opened Krusader and could even see the other hdd (I installed 14.1 64 on sdb and 14.0 x86 is on sda).
Needed though to go to 14.0 to check e-mail and other stuff for a little while. Did that and decided to reboot into sdb so I could do some more stuff with it.
The problem is, no matter what settings I make in the BIOS, it *always* boots to my sda (Slackware 14.0).
It's a UEFI MOBO and after getting 14.1 installed and where it told me to remove the dvd media and hit ctrl-alt-del to reboot, it booted just fine the first time (I had to go into the BIOS then also and make adjustments, but hadn't changed anything since until trying to boot back into 14.1 again the second time).
In sda on 14.0, I can see and have even copied some files to, the 14.1 hdd.
Is the GRUB on 14.1 somehow screwing up? Is there something I can look at and change on it? I prefer lilo, but understand the elilo thing I guess, just not what to edit to make it work again...if that's the problem.
Any ideas?
|
|
|
02-04-2014, 04:29 AM
|
#2
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
Well, it *is* grub so you can interactively look at your boot environment when it comes up. Press the letter "c" when the grub menu shows up and type in "help" to see what commands are available.
|
|
|
02-04-2014, 05:41 AM
|
#3
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Original Poster
Rep:
|
Sorry, I wasn't more clear...no grub comes up at all, nothing except the normal screen for me to be able to boot into the 14.0 drive. It's like the system has no clue another hdd is even there anymore.
|
|
|
02-04-2014, 06:25 AM
|
#4
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
really sounds like to me you may have changed your bios with out noticing. and you may have changed your drive order. that said you can always put the install disk in and read the instructions to boot to the drive and partition on your computer. this will get you started looking.
I use the grub2 in 14.1 and had no real problems with it.
|
|
|
02-04-2014, 07:53 AM
|
#5
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Original Poster
Rep:
|
Believe it or not, I tried the install disk thing...that didn't work either. I think though that that's for a 'lilo' installation. I used the grub2 that starts up automatically. I changed nothing during the install from what happens to anyone installing 14.1 64.
I already tried the different startup attempts by changing the hdd's...also no go. The system simply doesn't seem to think there's a second hdd anymore. I spent an hour changing things right and left in the BIOS trying to get the second hdd to boot, but the system goes straight to the 14.0 hdd like it's the only hdd on the planet.
Maybe the second hdd lost the 'boot flag'? I'll fire up parted magik and see.
Well...didn't see anything 'wrong' with parted magik. Gonna try to reinstall and leave all the partitions unformated except the /boot one that is for this eufi or uefi crap. Man, what a pita.
Last edited by irgunII; 02-04-2014 at 08:16 AM.
|
|
|
02-04-2014, 09:01 AM
|
#6
|
LQ Newbie
Registered: Jan 2014
Posts: 17
Rep:
|
Well, I personally hate Grub.. but anyway that happened to me kind of when I had Gentoo and was switching to Slackware. I wasn't running a dual boot but I did repartition, reformat and it still wanted to boot to Gentoo. I think it had to do with it being on the mbr and not getting updated.
This probably will not help you, but what I did was throw in a trusty windows cd and do what it does best.. wipe out everything. I then proceeded to go back to Slackware and use my trusty lilo and my bootloader worked without a problem.
|
|
|
02-04-2014, 10:29 AM
|
#7
|
Member
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 793
|
Do you have an efi partition?
If so please post the contents of
Code:
/boot/efi/EFI/Slackware/elilo.conf
It should contain a stanza for each of your installations, something like
Code:
image=vmlinuz
label=vmlinuz
read-only
append="root=/dev/sda2 vga=normal ro"
That is the a generic one for 14.1 on my system.
You would need to construct an additional stanza for each boot option (ie 14.0 or 14.1)
If you are not UEFI booting I can't help
John
|
|
|
02-04-2014, 12:30 PM
|
#8
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Original Poster
Rep:
|
Something I just noticed...I've been trying all this time since my last post, to simply start from fresh and re-install Slackware 14.1 64. When I use cgdisk or gdisk, it *seems* to do what it's supposed to do, but when I get to the 'setup' section, at the point where it should write an elilo or lilo it always wants to do a 'lilo'.
I've done this re-install and re-partitioning at least 10 times now and it ends up the same. Only *once*, before my original post, did it ask to do an 'elilo', that's when it booted just fine, but when I rebooted to 14.0 to do stuff and then rebooted to get back into 14.1, it (14.1) couldn't be seen by the BIOS or anything else for that matter. Somewhere in between logging out of 14.1 it lost the booting partition(?) and/or the elilo thing went for a walk without permission and never came back.
I've just now re-burned the 14.1 ISO and will try again to install it.
IIRR, here's the steps I take in (c)gdisk when partitioning:
o = setup a gpt partition. wipes out all partitions that may already be there.
n - new partition, and partition 1 as 100MB and set as ef00 (efi)
n - partition 2 is 25GB and set at 8300 (linux)
n - partition 3 is 123GB and set at 8300 (linux)
n - partition 4 is 935MB and set at 8200 (linux swap)
w - write partition table, enter 'yes' to confirm it will overwrite anything on there previous.
Back to root prompt and enter 'setup' and start the normal routine of installation following all the instructions onscreen 99% as 'just hit enter' to use what it suggests.
Wish me luck folks, and thanks for all the assistance and ideas.
|
|
|
02-04-2014, 02:11 PM
|
#9
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Original Poster
Rep:
|
Well, I tried again, three times and it still won't do the elilo thing. I'm about to give up. I'd really like to try 14.1 as an x86-64 with a few apps I use just to see if it's an improvement over the x386 side (BOINC setiathome, for instance).
Sure wish I knew what the heck happened that one time to make the install see the /boot as the first partition and make an elilo entry for it.
|
|
|
02-04-2014, 02:59 PM
|
#10
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
|
Eh, which one?
If it's a problem motherboard, inquiring googlers will want to know, so it might be helpful to post the model etc.; if it's one someone has, it might be helpful to compare notes on the exact settings and BIOS revision. I'm running 14.1 on UEFI boot on on ASUS RIVE.
|
|
|
02-04-2014, 04:32 PM
|
#11
|
Member
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383
Original Poster
Rep:
|
Quote:
Originally Posted by mostlyharmless
Eh, which one?
If it's a problem motherboard, inquiring googlers will want to know, so it might be helpful to post the model etc.; if it's one someone has, it might be helpful to compare notes on the exact settings and BIOS revision. I'm running 14.1 on UEFI boot on on ASUS RIVE.
|
It's an ASUS M5A97 LE R2.0 with the original BIOS (I've no M$ OS to upgrade the BIOS if there is an upgrade).
I'm still not sure though how it could be the BIOS if it worked once and not since, especially when I didn't change anything in it until it *didn't* boot anymore after the first time.
I'm also not too sure what kind of question to put to google for this, but I'll go to the ASUS website and see if there's anything there about it and/or if there's an update for the BIOS that I might be able to somehow put on the system even if all it has is an linux OS.
|
|
|
02-04-2014, 05:01 PM
|
#12
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
|
Quote:
I'm also not too sure what kind of question to put to google for this...
|
Yeah, what I meant was other people can avoid this board if indeed it is the problem. Some ASUS boards allow bios upgrades from the bios, no OS required; mine does, not sure about yours.
Edit: looks like your model does too.
Last edited by mostlyharmless; 02-04-2014 at 05:04 PM.
|
|
|
02-04-2014, 05:03 PM
|
#13
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
I think the problem may be that the UEFI will only boot registered entries. You register an entry using 'efibootmgr', and this is done when installing elilo. It is sometimes possible that the UEFI will refuse to register entries for some reason, in which case it has a default location that will boot at '/EFI/boot/bootx64.efi', so you could try copying elilo.efi to that name along with the elilo.conf in the same directory and the kernel.
The UEFI can be updated from the settings screen using one of the function keys, just look for the word "flash" maybe EZ-flash or something like that. I strongly recommend NOT updating the UEFI from Windoze, even if you had it. The only other option I would consider would be from a DOS boot disk, but all UEFI have a flashing utility built-in AFAIK.
EDIT:
Sometimes the manufacturer will only provide a Windoze binary to update the BIOS. It's really just a zip or maybe rar archive, so use either 7zip or unzip to unzip it, the UEFI firmware will be extracted and you can use it with the onboard flash utility.
Last edited by metaschima; 02-04-2014 at 05:06 PM.
|
|
|
02-04-2014, 05:05 PM
|
#14
|
LQ Newbie
Registered: Dec 2004
Location: UK, London
Distribution: Slackware-14.1 and Slackware64-14.2rc1
Posts: 26
Rep:
|
Quote:
Originally Posted by irgunII
It's an ASUS M5A97 LE R2.0 with the original BIOS (I've no M$ OS to upgrade the BIOS if there is an upgrade).
|
MSDOS boot images for usb are easy to get on the net so bios upgrades should not be a problem.
I have a new uefi system, a Shuttle SZ87R6, and it has refused attempts by the slackware64-14.1 installer to setup grub or elilo for a uefi boot. Fortunately it has all worked with a manually installed elilo setup. I think the problem was that the initial grub bootloader did not work and then the installer could not overwrite it with the elilo bootloader. You might also have a bios that only accept specific names for the efi boot file, it might have to be 'bootmgfw.efi' or similar.
Try rEFInd by rod smith, it might get you back into the slackware 14.1 system. His site also has a lot of info on the uefi boot process and loader software.
|
|
|
02-04-2014, 05:30 PM
|
#15
|
Member
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212
Rep:
|
Quote:
It's an ASUS M5A97 LE R2.0 with the original BIOS (I've no M$ OS to upgrade the BIOS if there is an upgrade).
|
I have the same board. You should upgrade the firmware via the EFI menu. RTFM. Format a usb drive with vfat. Drop the image on, and select the upgrade option from the EFI menu. That should be your first step.
Secondly, there's a section which lets you configure the boot sequence. One of the options allows you to toggle Legacy BIOS and EFI bootloaders. I recommend turning off Legacy BIOS boot support.
|
|
|
All times are GMT -5. The time now is 04:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|