Problems with freshly installed Slackware64 14 on a newly bought laptop
SlackwareThis 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.
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.
Hello,
i followed the steps to build a new kernel described in this article.
I downloaded kernel source 3.8.4 and the corresponding config file and everything went on without errors.
Although i made the suggested changes below:
Quote:
Originally Posted by Didier Spaier
Thanks for the information.
No, use that one (you installed a 64 bit Slackware, right?) instead
Don't worry about that, you'll be installing a huge kernel so all that you need will be built-in. You will just have to rename it as .config and run "make oldconfig" before making the kernel & modules and install everything.
Now in /etc/lilo.conf just replace all occurrences of
When i first installed Slackware64 on this laptop i was able to install LILO. It comes with a 2 minutes timeout by default. I didn't want to wait so long so i changed it to 5 seconds. Then i had to run lilo for the new configurations to take effect. I did it and now i have to wait 5 sec only before Linux starts to load. It has worked at that time. It is not working now. What is the difference?
P.S. I could not find how to send private message to a user - probably i need to pay or to have a number of posts i do not have until now? I was not also able to find the option to send an email to a user. How could i be able to contact Erik_FL then?
When i first installed Slackware64 on this laptop i was able to install LILO. It comes with a 2 minutes timeout by default. I didn't want to wait so long so i changed it to 5 seconds. Then i had to run lilo for the new configurations to take effect. I did it and now i have to wait 5 sec only before Linux starts to load. It has worked at that time. It is not working now. What is the difference?
I chose btrfs because i read somewhere that it is better to use this file system when you have an SSD disk. Now i do not know how i could re-format it in other file system because Slackware is already installed. Probably i need to start it all over again? Re-install and re-format?
P.S. I could not find how to send private message to a user - probably i need to pay or to have a number of posts i do not have until now? I was not also able to find the option to send an email to a user. How could i be able to contact Erik_FL then?
It seems that i still do not have sufficient posts to be able to access this page
Quote:
LinuxQuestions.org Message
glupa4e, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Log Out Home
It has worked at that time. It is not working now. What is the difference?
Lilo does not work reliably on a btrfs partitions. You should either have a small ext{2,3,4} /boot partition for lilo's sake or you could use extlinux (a component of Syslinux) which Slackware also provides. The version included in Slackware can boot from btrfs partitions as well (which might not have been obvious given the name).
UI menu.c32
PROMPT 0
MENU TITLE Boot options
TIMEOUT 50
DEFAULT huge
LABEL huge
MENU LABEL Slackware64 (huge)
LINUX /boot/vmlinuz
APPEND root=/dev/sdb2 ro
LABEL custom
MENU LABEL Slackware64 (custom)
LINUX /boot/vmlinuz-custom-3.7.10
APPEND root=/dev/sdb2 ro
Note: You will find files like mbr.bin, altmbr.bin, gptmbr.bin and menu.c32 in /usr/share/syslinux/ (not /usr/lib/syslinux/ as the Arch Wiki states, Arch and Slack are different on this point). As well as installing the bootloader file as per these instructions, you will also need to copy menu.c32 into /boot/syslinux/ alongside extlinux.conf for the above to work.
If you prefer something really simple (with no need for menu.c32):
Now i do not know how i could re-format it in other file system because Slackware is already installed. Probably i need to start it all over again? Re-install and re-format?
I don't think so, just switch the boot loader to one that supports booting btrfs directly.
If you are having problems booting, you could use your Slackware 14 install media to boot into your installed environment. The boot prompt you get when you boot from the install media tells you how to do this. Once you have booted you can setup extlinux as your boot manager. No need to reinstall or repartition.
Last edited by ruario; 04-07-2013 at 03:07 AM.
Reason: looks like the OP can boot one of his kernels so switched my comment to 'if'
According to this thread, you would better avoid using btrfs for / (your root partition) and /boot.
Not the sure about that, but that's my clue atm
According to this thread the possible reason for problems with btrfs and lilo is that:
Quote:
apparently btrfs has not implemented the ioctl FIBMAP which is required to map files to block numbers.
Later the same poster states:
Quote:
maybe there even is a fundamental road block, for instance if the filesystem reserves the right to move the files around.
EDIT: I also found this thread on the linux-btrfs mailing list, which also appears to confirm issues with lilo and btrfs. It states that extlinux is the only bootloader that works with a btrfs root, though I think this is no longer true. Grub2 should also do the job. The thread is a little old so it may have been true at the time. In any case I think extlinux is a better option because it is a simpler bootloader and actually ships with Slackware.
So I do have one partition /boot which is /dev/sdb1 and is ext2 file system. The question is that i do not know where lilo is installed, probably on / .
Yesterday i had to restart the laptop. Here is what i saw in BIOS:
1. Hard Drive - when i select it, i am able to start lilo and Slackware;
2. Second Hard Drive - No operating system found;
3. Removable Disk - i am able to start lilo and Slackware.
I will read the instructions that you have provided and probably try it. If i face any trouble, i will again share them here.
I already saw that there is directory created in Slackware. Here is what resides in it:
Code:
/usr/share/syslinux# ls -rtl
total 1696
-rw-r--r-- 1 root root 9744 Aug 18 2012 zzjson.c32
-rw-r--r-- 1 root root 2960 Aug 18 2012 whichsys.c32
-rw-r--r-- 1 root root 6180 Aug 18 2012 vpdtest.c32
-rw-r--r-- 1 root root 154128 Aug 18 2012 vesamenu.c32
-rw-r--r-- 1 root root 5388 Aug 18 2012 vesainfo.c32
-rw-r--r-- 1 root root 1300 Aug 18 2012 ver.com
-rw-r--r-- 1 root root 48992 Aug 18 2012 syslinux.com
-rw-r--r-- 1 root root 40304 Aug 18 2012 sysdump.c32
-rw-r--r-- 1 root root 25936 Aug 18 2012 sdi.c32
-rw-r--r-- 1 root root 2448 Aug 18 2012 sanboot.c32
-rw-r--r-- 1 root root 21256 Aug 18 2012 rosh.c32
-rw-r--r-- 1 root root 800 Aug 18 2012 reboot.c32
-rw-r--r-- 1 root root 26746 Aug 18 2012 pxelinux.0
-rw-r--r-- 1 root root 998 Aug 18 2012 pxechain.com
-rw-r--r-- 1 root root 1932 Aug 18 2012 pwd.c32
-rw-r--r-- 1 root root 239 Aug 18 2012 poweroff.com
-rw-r--r-- 1 root root 13276 Aug 18 2012 pmload.c32
-rw-r--r-- 1 root root 32356 Aug 18 2012 pcitest.c32
-rw-r--r-- 1 root root 55268 Aug 18 2012 menu.c32
-rw-r--r-- 1 root root 5300 Aug 18 2012 meminfo.c32
-rw-r--r-- 1 root root 5912 Aug 18 2012 memdump.com
-rw-r--r-- 1 root root 25884 Aug 18 2012 memdisk
-rw-r--r-- 1 root root 440 Aug 18 2012 mbr_f.bin
-rw-r--r-- 1 root root 440 Aug 18 2012 mbr_c.bin
-rw-r--r-- 1 root root 440 Aug 18 2012 mbr.bin
-rw-r--r-- 1 root root 34140 Aug 18 2012 mboot.c32
-rw-r--r-- 1 root root 247244 Aug 18 2012 lua.c32
-rw-r--r-- 1 root root 9516 Aug 18 2012 ls.c32
-rw-r--r-- 1 root root 16872 Aug 18 2012 linux.c32
-rw-r--r-- 1 root root 5084 Aug 18 2012 kbdmap.c32
-rw-r--r-- 1 root root 24576 Aug 18 2012 isolinux.bin
-rw-r--r-- 1 root root 24576 Aug 18 2012 isolinux-debug.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdppx_f.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdppx_c.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdppx.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdpfx_f.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdpfx_c.bin
-rw-r--r-- 1 root root 432 Aug 18 2012 isohdpfx.bin
-rw-r--r-- 1 root root 55 Aug 18 2012 int18.com
-rw-r--r-- 1 root root 2444 Aug 18 2012 ifplop.c32
-rw-r--r-- 1 root root 1312 Aug 18 2012 ifcpu64.c32
-rw-r--r-- 1 root root 20064 Aug 18 2012 ifcpu.c32
-rw-r--r-- 1 root root 4620 Aug 18 2012 host.c32
-rw-r--r-- 1 root root 339764 Aug 18 2012 hdt.c32
-rw-r--r-- 1 root root 89370 Aug 18 2012 gpxelinuxk.0
-rw-r--r-- 1 root root 89426 Aug 18 2012 gpxelinux.0
-rw-r--r-- 1 root root 2448 Aug 18 2012 gpxecmd.c32
-rw-r--r-- 1 root root 440 Aug 18 2012 gptmbr_f.bin
-rw-r--r-- 1 root root 440 Aug 18 2012 gptmbr_c.bin
-rw-r--r-- 1 root root 440 Aug 18 2012 gptmbr.bin
-rw-r--r-- 1 root root 21948 Aug 18 2012 gfxboot.c32
-rw-r--r-- 1 root root 28496 Aug 18 2012 ethersel.c32
-rw-r--r-- 1 root root 28496 Aug 18 2012 elf.c32
-rw-r--r-- 1 root root 36632 Aug 18 2012 dmitest.c32
-rw-r--r-- 1 root root 5516 Aug 18 2012 disk.c32
drwxr-xr-x 1 root root 82 Aug 18 2012 diag/
-rw-r--r-- 1 root root 15576 Aug 18 2012 cpuidtest.c32
-rw-r--r-- 1 root root 5644 Aug 18 2012 cpuid.c32
-rw-r--r-- 1 root root 4876 Aug 18 2012 config.c32
-rw-r--r-- 1 root root 800 Aug 18 2012 cmd.c32
-rw-r--r-- 1 root root 20576 Aug 18 2012 chain.c32
-rw-r--r-- 1 root root 5952 Aug 18 2012 cat.c32
-rw-r--r-- 1 root root 439 Aug 18 2012 altmbr_f.bin
-rw-r--r-- 1 root root 439 Aug 18 2012 altmbr_c.bin
-rw-r--r-- 1 root root 439 Aug 18 2012 altmbr.bin
drwxr-xr-x 1 root root 68 Aug 18 2012 dosutil/
Then this article advises that in order to install it i need to run:
Code:
# syslinux-install_update -i -a -m
In fact i found on my Slackware that the following options are available:
Code:
/usr/share/syslinux# syslinux --help
Usage: syslinux [options] device
--offset -t Offset of the file system on the device
--directory -d Directory for installation target
--install -i Install over the current bootsector
--update -U Update a previous installation
--zip -z Force zipdrive geometry (-H 64 -S 32)
--sectors=# -S Force the number of sectors per track
--heads=# -H Force number of heads
--stupid -s Slow, safe and stupid mode
--raid -r Fall back to the next device on boot failure
--once=... Execute a command once upon boot
--clear-once -O Clear the boot-once command
--reset-adv Reset auxilliary data
--menu-save= -M Set the label to select as default on the next boot
--force -f Ignore precautions
There is also install and update options available here. Do i need to explicitly download and install it from an external source or the already installed would do? Sorry i got confused already :-(
So I do have one partition /boot which is /dev/sdb1 and is ext2 file system.
Ohh! I missed that. Then I am not sure what the problem is.
I'm not sure if switching to extlinux is the best idea in that case. FWIW I'll answer your question about setting up extlinux anyway, though if you try it the risk is yours.
The package for Syslinux is already available in a full Slackware install. You just need to install the bootloader into the master boot record and provide a configuration file.
To install it from within Slackware, issue the following as root:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.