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.
|
|
12-19-2013, 01:43 AM
|
#1
|
Member
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126
Rep:
|
cgdisk partition table writing error - but it works!(?) [Slackware64-14.1]
Hello everybody, I installed Slackware64-14.1 yesterday on my Win8-preinstalled desktop. I shrunk the Windows partition in Win8 and then added three Linux partitions (swap, /, /home) with cgdisk. But, when I choose to wrote the new partitition table cgdisk claimed that the disk might have been damaged or something (I didn't write down the message). Even though this message, I was able to install Slackware and Windows still works too.
Has anyone of you seen error messages when writing the partition table in cgdisk?
I also installed Elilo on EFI, but unfortunately my Windows boot entry was removed. I removed the Slackware entry and then Windows was found again, but I guess there is a way to keep both (maybe using two EFI partitions?)
If I want to add the Slackware boot entry again, I guess efibootmgr -q -c -d ... should do the trick?
BR
|
|
|
12-19-2013, 02:10 PM
|
#2
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Hi, I wrote an article on booting from UEFI, because this is the first time I've had to do it, and it's quite different from using lilo.
http://docs.slackware.com/howtos:sla...uefi_and_elilo
Note that elilo does not support booting anything but *nix. If you want to dual boot with a non-Linux OS, then you could try to add a UEFI boot entry using efibootmgr (see article) and maybe your UEFI firmware has a way to select which entry you want to boot. If it does not, then you will have to use another bootloader like it says here:
http://www.rodsbooks.com/efi-bootloaders/elilo.html
Probably refind is what you want:
http://www.rodsbooks.com/refind/
|
|
|
12-19-2013, 02:24 PM
|
#3
|
Member
Registered: May 2004
Distribution: Slackware
Posts: 215
Rep:
|
I've seen the error you mention every time I've used cgdisk and also seen no ill effects. I saw somewhere else others have observed the same (an error, but no after-effects). It seems to be widespread. Hopefully the developers of cgdisk are looking into it.
|
|
|
12-20-2013, 01:45 AM
|
#4
|
Member
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
|
Ok, but I thought that when the installer added the Slackware entry in the EFI table(?), that shouldn't affect the already installed Windows loader entry?
Unfortunately my HP doesn't show a boot menu by itself so I will have to stop it with escape anyway during upstart in order so choose what OS to boot.
I am able to use the EFI-USB-boot disk that was created during the installation though to start Slackware (maybe it works since that USB-disk contains another EFI partition than the internal hard drive?), could perhaps someone point out to me how I update this disk with elilo if I was about to change kernel or something else on the installed system?
That is, to be able to reproduce the boot disk creation process post-install.
Last edited by Olaus; 12-20-2013 at 08:20 AM.
Reason: Add USB info
|
|
|
12-20-2013, 01:27 PM
|
#5
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Installing the Slackware entry has no effect on the Win entry. However, it does have an effect because the UEFI firmware will default to the new entry. Yeah, you would have to stop the boot and choose to boot the other entry.
The make boot disk script is at '/var/log/setup/setup.80.make-bootdisk'.
|
|
|
01-09-2014, 02:21 PM
|
#6
|
Member
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
Installing the Slackware entry has no effect on the Win entry. However, it does have an effect because the UEFI firmware will default to the new entry. Yeah, you would have to stop the boot and choose to boot the other entry.
The make boot disk script is at '/var/log/setup/setup.80.make-bootdisk'.
|
I guess that I only have to edit elilo.conf on the USB-bootdisk then if I choose another kernel (and initrd)?
|
|
|
01-09-2014, 02:30 PM
|
#7
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
You can edit 'elilo.conf' if you want to be able to choose between more than one kernel to boot.
|
|
|
01-10-2014, 02:13 AM
|
#8
|
Member
Registered: Apr 2006
Location: Sweden
Distribution: Slackware64 14.2
Posts: 126
Original Poster
Rep:
|
Quote:
Originally Posted by metaschima
You can edit 'elilo.conf' if you want to be able to choose between more than one kernel to boot.
|
Sounds good, I guess elilo.conf has about the same syntax as lilo.conf?
I also figured out the hard way that I of course had to copy the new kernel and initrd to the USB disk :-)
|
|
|
All times are GMT -5. The time now is 03:55 PM.
|
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
|
|