LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-25-2016, 12:33 AM   #1
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Rep: Reputation: 0
picking HD for installation


Installing 14.1 from dvd. Setup wants to use /dev/sda I want to use /dev/sdb.
 
Old 03-25-2016, 06:53 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665
Have you partitioned /dev/sdb? Unless the drive is partitioned, it won't show up in the installer.
 
Old 03-25-2016, 09:00 AM   #3
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bassmadrigal View Post
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.
 
Old 03-25-2016, 10:15 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416

Rep: Reputation: Disabled
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.
 
Old 03-25-2016, 04:56 PM   #5
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
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?
 
Old 03-25-2016, 05:08 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416

Rep: Reputation: Disabled
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.
 
Old 03-25-2016, 06:09 PM   #7
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
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.
 
Old 03-25-2016, 06:27 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,416

Rep: Reputation: Disabled
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".
 
Old 03-26-2016, 09:57 PM   #9
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 03-27-2016, 12:29 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665
Quote:
Originally Posted by skippy1729 View Post
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.
 
Old 03-27-2016, 05:41 PM   #11
skippy1729
Member
 
Registered: Oct 2008
Posts: 95

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bassmadrigal View Post
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
 
Old 03-27-2016, 06:30 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665Reputation: 6665
Can you post your lilo.conf and the output of lilo -t -v?

I'm thinking you may have your boot parameter wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 8 Installation not picking up Dell monitor bowbalitic Linux - General 15 02-29-2008 04:28 PM
Picking a new distro FlipHDK Linux - Newbie 5 12-12-2006 11:28 AM
Need help picking the right iso inverted.gravity Mandriva 5 11-21-2006 11:32 AM
help picking flavor offroadbum Linux - Newbie 8 01-11-2005 09:56 PM
need help picking distro kurt9090 Linux - Distributions 10 05-03-2004 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration