LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2007, 12:37 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Rep: Reputation: 51
sdb or hdb???


In the middle of installing slackware12 been a while since i have install os... I have 2 sata100 hdds C: windows and D: slackware12 both Master Primary Drives. My motherboard is 100fsb but with HTP366 ata66

So how do I label slackware partitions?
hdb or hdc?
sdb or sdc?
I have no secondary slave hdds on either ide3 or ide4 channels only a master on each.

ide 1 and ide2 are occupied by cdrom master and cdwr master.
Thanks
 
Old 08-15-2007, 12:40 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Your first SATA disk will be sda and your second will be sdb.
 
Old 08-15-2007, 12:44 AM   #3
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Original Poster
Rep: Reputation: 51
mega thanks for quick response... as i try to fdisk, I am unable to fdisk /dev/sdb
because it seems I labled this hard drive hdg??? Don't know how...
How do I change dev/hdg to dev/sdb?

Last edited by NightSky; 08-15-2007 at 01:21 AM.
 
Old 08-15-2007, 02:29 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You don't, hd and sd use different drivers. Messing with these things will only bring you headaches. One things that may make a difference is the way that your disks are configures in BIOS: IDE or AHCI. But 2.6.20+ kernels should use sd for both.
 
Old 08-15-2007, 02:53 AM   #5
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Original Poster
Rep: Reputation: 51
Well the thing is that when I installed slackware10 and fdisked only, / and swap partition I somehow thought: ide 1 i= a&b master/slave, ide2 = c&d master slave, ide3= e&f master/slave and the ide4= g&h master/slave this hierarchy left me w /hde for windows and /hdg for linux Now was trying to delete the entire hdd and create a clean slackware12 install.

Had to halt the new install process because I am having trouble figuring out how to allocate 160gb for swap, /, /home, /usr.
 
Old 08-15-2007, 03:06 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,723

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
Do a "/sbin/fdisk -l" and see what the machine thinks the disks are called. Might need root as well, depending on how Pat set things up.
 
Old 08-15-2007, 01:39 PM   #7
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Original Poster
Rep: Reputation: 51
syg00, tried your code and got back "Not found"...so I am trying 'dd if =/de/zero of=/dev/hdg" to see if I can cleanup everything. How long does this take with 160GB? If this doesn't work I will try "dd if=/dev/urandom>fileconsumingall freespace" When dd says none left do "rm"... this process is supose to leave my new hdd like new! If all this fails then the next question is how to partition 160gb... Maybe by the time I am 60 years old this project will be completed?
 
Old 08-15-2007, 03:14 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You need to be root to do fdisk -l.

Also I don't see how zeroing your disk is going to change hd to sd. The hd/sd depends on the kernel version and the third letter is determined by the way your hardware is configured.
 
Old 08-15-2007, 03:46 PM   #9
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Original Poster
Rep: Reputation: 51
Ok, well this is an attempt a fresh install of slackware12 w/default kernel.. prviously installed on hdd was slackware10. Will see. If I want to stop the dd if= /dev/zero process how do I stop it? Thanks

Last edited by NightSky; 08-15-2007 at 03:50 PM.
 
Old 08-16-2007, 12:21 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Can't you just use Ctrl-C?
 
Old 08-16-2007, 01:38 AM   #11
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Highpoint controllers that uses the hpt366 module will use IDE device nodes even though some controllers contains SATA connectors.

For a secondary IDE controller, the device nodes will be hde (Primary Master), hdf (Primary Slave), hdg (Secondary Master), hdh (Secondary Slave).

You do not have SATA controllers. You have regular IDE controllers.

Slackware will not load the secondary controller, so you have to manually load it. The module for Highpoint controllers 366 to 374 is hpt366. If you are installing Linux on a hard drive connected to this controller, you will have to make sure initrd file contains this module or else Linux will not boot. Use the mkinitrd utility to help you create an initrd with the require module.

I recommend use cfdisk to create and delete partitions. Linux partitions are type 83 and Linux swap partitions are 82. After writing the partition table to the proper hard drive, run hdparm -z [device_node] to re-scan the partition table on the desire drive. During formatting do not select the extended partition.

Zeroing is useless on a home computer. You are just creating more work and wasting time.
 
Old 08-16-2007, 07:32 PM   #12
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-14.1
Posts: 853

Original Poster
Rep: Reputation: 51
Install is in process

Thanks, especially for the information on HPT366 I would have been going crazy trying to figure out what was wrong if I couldn't boot Slackware...
Electro, previous Slackware10 had HPT366 in its kernals... What are the cons of rolling my install to a previously working version?
 
  


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
can' t see sdb or hdb 'cat /etc/fstab' , want to make partitions accessible firedancer Ubuntu 5 06-20-2007 07:37 AM
Adding 2 HDs. (sdb and hda) RedShirt SUSE / openSUSE 4 01-28-2006 08:53 AM
Grub - dual boot fails on sdb mhoma Linux - General 0 06-13-2005 11:08 AM
zip drive alternately mounts on /sda and /sdb timsch75 Linux - Hardware 6 09-26-2004 10:00 AM
sdb but no sdb1? Moebius Linux - Hardware 3 02-15-2004 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration