Slackware - Installation This 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.
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.
|
 |
03-25-2016, 12:33 AM
|
#1
|
Member
Registered: Oct 2008
Posts: 95
Rep:
|
picking HD for installation
Installing 14.1 from dvd. Setup wants to use /dev/sda I want to use /dev/sdb.
|
|
|
03-25-2016, 06:53 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
Have you partitioned /dev/sdb? Unless the drive is partitioned, it won't show up in the installer.
|
|
|
03-25-2016, 09:00 AM
|
#3
|
Member
Registered: Oct 2008
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by bassmadrigal
Have you partitioned /dev/sdb? Unless the drive is partitioned, it won't show up in the installer.
|
I formatted it to ext4. Will partition and try again.
|
|
|
03-25-2016, 10:15 AM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416
Rep: 
|
To be sure everything is OK, before typing setup type:
Code:
lsblk -o model,name,size,fstype
LANG=en fdisk -l|grep -e "^/dev" -e "Device"
PS Even if the filesystem is ext4, if the type of the partition on which you want to install is of type "Microsoft basic data" or "HPFS/NTFS/exFat" for instance (this could happen if you reuse a partition formerly used by Windows) setup won't see it. Then you would have to delete that partition and to recreate one of type Linux instead (maybe just changing its type is enough).
Last edited by Didier Spaier; 03-25-2016 at 02:12 PM.
Reason: PS added.
|
|
|
03-25-2016, 04:56 PM
|
#5
|
Member
Registered: Oct 2008
Posts: 95
Original Poster
Rep:
|
Partitioned with Gparted and installed. Not recognized by Grub 2. "missing boot loader" when I direct hardware to boot from this drive. I did not make a USB stick or install LILO. Should I try one or both of these? Or something else?
|
|
|
03-25-2016, 05:08 PM
|
#6
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416
Rep: 
|
To give you a sound answer, please tell us what other systems you need to boot (assuming that you have set up a multi-boot environment), and how do you boot them (if grub2, provide the content of grub.conf).
Also I don't understand what means
Quote:
Not recognized by Grub 2. "missing boot loader" when I direct hardware to boot from this drive
|
Which commands did you attempt exactly?
Last edited by Didier Spaier; 03-25-2016 at 05:10 PM.
|
|
|
03-25-2016, 06:09 PM
|
#7
|
Member
Registered: Oct 2008
Posts: 95
Original Poster
Rep:
|
hd0 contains Ubuntu
hd1 contains Slackware
hd2 is formatted FAT32 with no OS currently installed
If I set the computers hardware setup to boot only from hd1 I get the message "missing boot loader"
If I boot from cd/dvd drive containing Grub2 I get options to boot Ubuntu from hd0 or hd2 which has no operating system. There isn't even an option for hd1. I don't think I have a grub.conf file as I just use the Grub2 dvd when I need it.
Last edited by skippy1729; 03-25-2016 at 06:19 PM.
|
|
|
03-25-2016, 06:27 PM
|
#8
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416
Rep: 
|
Then install lilo. You can boot into your system using the install DVD: as soon as you see the initial greeting screen just type a command like:
Code:
huge.smp root=/dev/sdb1 rdinit= ro
This is assuming you installed the 32-bit version and your root Slackware partition is /dev/sdb1, else adapt accordingly. If you installed the 64-bit version type huge.s instead of huge.smp.
Then when you will be in Slackware, log in as root then just type "liloconfig" and follow instructions. You can add a lilo stanza for Ubuntu using the "expert" mode, but it may be simpler to edit /etc/lilo.conf afterwards to add that stanza. After that type "lilo -t -v" to check for any error message and if all goes well just type "lilo" to update the boot sector. When running liloconfig you will be asked where to install the boot sector. I suggest to choose "MBR".
|
|
|
03-26-2016, 09:57 PM
|
#9
|
Member
Registered: Oct 2008
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by Didier Spaier
Then install lilo. You can boot into your system using the install DVD: as soon as you see the initial greeting screen just type a command like:
Code:
huge.smp root=/dev/sdb1 rdinit= ro
This is assuming you installed the 32-bit version and your root Slackware partition is /dev/sdb1, else adapt accordingly. If you installed the 64-bit version type huge.s instead of huge.smp.
Then when you will be in Slackware, log in as root then just type "liloconfig" and follow instructions. You can add a lilo stanza for Ubuntu using the "expert" mode, but it may be simpler to edit /etc/lilo.conf afterwards to add that stanza. After that type "lilo -t -v" to check for any error message and if all goes well just type "lilo" to update the boot sector. When running liloconfig you will be asked where to install the boot sector. I suggest to choose "MBR".
|
Tried this. lilo -t -v returned several warnings but no errors.
Reboot (without Grub2 or Install DVD) gives "missing boot loader"
Could a low level format help? hdparm shows the hd as frozen and I can't find out how to unfreeze.
|
|
|
03-27-2016, 12:29 PM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
Quote:
Originally Posted by skippy1729
Tried this. lilo -t -v returned several warnings but no errors.
|
Did you run lilo after that? lilo -t will just test your config and output verbosely. You still need to run lilo to actually update the mbr.
|
|
|
03-27-2016, 05:41 PM
|
#11
|
Member
Registered: Oct 2008
Posts: 95
Original Poster
Rep:
|
Quote:
Originally Posted by bassmadrigal
Did you run lilo after that? lilo -t will just test your config and output verbosely. You still need to run lilo to actually update the mbr.
|
yes
|
|
|
03-27-2016, 06:30 PM
|
#12
|
LQ Guru
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792
|
Can you post your lilo.conf and the output of lilo -t -v?
I'm thinking you may have your boot parameter wrong.
|
|
|
All times are GMT -5. The time now is 01:34 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
|
|