LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-18-2006, 11:56 AM   #1
subnet_rx
Member
 
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Rep: Reputation: 15
Installing on a second drive


Been a while since I installed Linux and when I bought my new computer, I partitioned the drive with the knowledge I'd install Linux in the future. I'm having trouble though since the partition I want to install on is on hdb1 not hda. The first problem is, I used cfdisk to create my partitions, but after ok'ing the write (and confirmed by fdisk -l), setup is still telling me it's an NTFS partition. I say this, because when I select my target partitions, it only gives me the options to include my main drive and backup drive to fstab as NTFS partitions. So, I guess I have two questions, how should I insure that the partitions stick, and how do I indicate for setup to use hdb not hda as the primary disk?

Last edited by subnet_rx; 10-18-2006 at 12:19 PM.
 
Old 10-18-2006, 03:46 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
1) What tells cfdisk if you call it with "cfdisk /dev/hdb"? Does it show you hdb2 as NTFS or what? If it is not Linux native, change the type (command called "Type" in cfdisk, just type the "T" letter) and change it to "83". To be sure reboot at this point from the Slackware CD.

2) You don't have to do special things to tell the Slackware installer to use hdb -- if asked for a root ("/") partiton for your Slackware just choose /dev/hdb2 or whatever you like. All available Linux partitions should be offered at this point in a menu (but be cautious not to choose the wrong one, because in the next installation step you will be asked to format the partition).
 
Old 10-18-2006, 05:47 PM   #3
subnet_rx
Member
 
Registered: Oct 2001
Distribution: Ubuntu 9.10
Posts: 148

Original Poster
Rep: Reputation: 15
ok, this might be where I was screwed up. I was running cfdisk /dev/hdb1, which created Linux partitions like /dev/hdb1p1. So, after running it on /dev/hdb, I changed the proper partition to Linux(83). My new question is, should I just delete this partition and partition the drive like hdb1, hdb2, etc. Or cfdisk hdb1 again to get partitions like hdb1p1?
 
Old 10-19-2006, 01:44 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Hm, I have to admit I have no clue what the hdb1p1 scheme is, tells me nothing (maybe a *BSD slice?). To install Linux AFAIK you need hdb1, hdb2 .... If you could wipe hdb it would be the most simple thing I guess. Start cfdisk, delete these hdb partitions (no need to reboot here) and create some new ones. Be sure that they are type 83. Then reboot and go on with installation.
 
Old 10-19-2006, 07:49 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by subnet_rx
Been a while since I installed Linux and when I bought my new computer, I partitioned the drive with the knowledge I'd install Linux in the future. I'm having trouble though since the partition I want to install on is on hdb1 not hda. The first problem is, I used cfdisk to create my partitions, but after ok'ing the write (and confirmed by fdisk -l), setup is still telling me it's an NTFS partition. I say this, because when I select my target partitions, it only gives me the options to include my main drive and backup drive to fstab as NTFS partitions. So, I guess I have two questions, how should I insure that the partitions stick, and how do I indicate for setup to use hdb not hda as the primary disk?
Hi,

First, the device file is /dev/hdb. This device can be divided into partitions with either 'fdisk' or 'cfdisk'. My preference is 'fdisk'. When you write the partition information (partition table) you should reboot to ensure that the partition table is updated.

I like too format my partitions before a install. I confirm the validity of the partitions and also label the partitions to help with maintenance.

Linux Partition HOWTO is a good reference to read.

As for the device designation during the install/setup, you are given the opportunity to choose the device for installation.
 
  


Reply



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
Installing Debian on USB Hard Drive/USB Jump Drive kushalkoolwal Debian 10 02-26-2009 01:46 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 02:15 AM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Installing without CD Drive MG-Cloud Slackware - Installation 3 11-03-2005 11:09 AM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM

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

All times are GMT -5. The time now is 10:55 PM.

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