Slackware This 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.
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-15-2006, 06:30 PM
|
#1
|
Member
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74
Rep:
|
SATA partitionning issue
Hello,
I have a working slacware 10.0.0 installed ono my ATA hardrive (/dev/hda1). I have connected a SATA hard drive to the system and for a reason I cannot format/partition it?
The motherboard is an ASUS P5P800SE. The dmesg give me this output:
Quote:
ata1: SATA max UDMA/133 cmd 0xB400 ctl 0xB002 bmdma 0xA000 irq 18
ata2: SATA max UDMA/133 cmd 0xA800 ctl 0xA402 bmdma 0xA008 irq 18
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA, max UDMA/133, 156301488 sectors: lba48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ata2: SATA port has no device.
scsi1 : ata_piix
Vendor: ATA Model: ST380817AS Rev: 3.42
Type: Direct-Access ANSI SCSI revision: 05
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
|
sfdisk returns:
Quote:
sfdisk -l /dev/sg0
No error tells me that everything should be ok so far. device appear as /dev/sg0
Disk /dev/sg0: cannot get size
Disk /dev/sg0: cannot get geometry
Disk /dev/sg0: 0 cylinders, 0 heads, 0 sectors/track
llseek: Illegal seek
sfdisk: seek error on /dev/sg0 - cannot seek to 0
/dev/sg0: unrecognized partition
No partitions found
|
There is no way I can partition it altought... is there something I'm doing wrong?
HELP 
Last edited by cferron; 03-15-2006 at 06:47 PM.
|
|
|
03-15-2006, 06:56 PM
|
#2
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
try it with /dev/sda
that's my first SATA hard drive
when I connect an USB flash memory it's recognized as /dev/sdb
|
|
|
03-15-2006, 07:01 PM
|
#3
|
Member
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74
Original Poster
Rep:
|
There is no /dev/sda.... this might be related with the fact that the disk size is not even recongnized...
Claude
|
|
|
03-15-2006, 07:06 PM
|
#4
|
Member
Registered: Feb 2006
Distribution: slackware-current
Posts: 36
Rep:
|
Quote:
Originally Posted by cferron
There is no /dev/sda.... this might be related with the fact that the disk size is not even recongnized...
Claude
|
Hi
What kernel version are you using? --> "uname -r"
Im on 2.6.15.6 and my sata drive is on /dev/sda, it could be different on 2.4 stock kernels.
Regards
|
|
|
03-15-2006, 09:44 PM
|
#5
|
Member
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74
Original Poster
Rep:
|
Sorry for my inexperience here... I should at least have provided this information in the first place
Kernel 2.6.8.1
Processor: Intel Pentium D 820
Claude
|
|
|
03-15-2006, 09:54 PM
|
#6
|
Member
Registered: Jan 2006
Location: Trois-Rivières, Québec, Canada
Distribution: Slackware, Ubuntu
Posts: 74
Original Poster
Rep:
|
 Just found my problem!
SD_MOD was compiled as a module (have to do that because of error with frequent compact flash card mount/unmount) also the module wasn't loading automatically at boot... so basically,
modprobe sd_mod
did make /dev/sda appear so I could partition the disk.
My next question, how do I make LILO bootable on it (will it keep /dev/sda1 forever?)
Thanks for your time everyone!
Claude
Last edited by cferron; 03-15-2006 at 09:58 PM.
|
|
|
All times are GMT -5. The time now is 12:08 PM.
|
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
|
|