LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-28-2008, 11:58 AM   #1
nolsen034
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
unable to write /dev/hda


i'm trying to create my partitions with fdisk now. I've only created two partitions on the table, one for swap and one for / (I'd like to create four: /, swap, /home and /usr/local but I'm not exactly sure what a good size for those would be. Two will do for now, I suppose.)

When I try and write the partition table, I get this:



-----------------------
Unable to write /dev/hda
root@slackware:/#fdisk /dev/hda
You will not be able to write the partition table.
Note: sector size is 2048 (not 512)
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only until you decide to wrtie them. After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be correct w(rite)

------------------------





the 'p' command yeilds:

-------------------------
Disk /dev/hda: 3894 MB, 3894536192 bytes
255 heads, 63 sectors/track, 118 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

Device Boot Start End Blocks Id System

-------------------------

why?
 
Old 02-28-2008, 12:08 PM   #2
nolsen034
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I may have figured it out
 
Old 02-28-2008, 12:37 PM   #3
nolsen034
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0
ok, I do need help. Sorry 'bout that.

Can anybody give me some advice?
 
Old 02-28-2008, 02:09 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
You could try using cfdisk to write your partitions, it's easier.
 
Old 02-28-2008, 07:09 PM   #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
Hi,
Quote:
Originally Posted by nolsen034 View Post
ok, I do need help. Sorry 'bout that.

Can anybody give me some advice?
You could look at 'SlackwareBasics' partition section.

BTW, you had not created any partitions with the 'fdisk' command. 'fdisk' is lot better to use and safer. But for some 'cfdisk' is the only way to go.

Last edited by onebuck; 02-28-2008 at 07:11 PM.
 
Old 02-28-2008, 09:25 PM   #6
nolsen034
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Original Poster
Rep: Reputation: 0
i appreciate the help guys. Turns out I was looking in /dev/hda/ when I should have been looking at /dev/sda/



slackbasics.org = the best slack guide I've come across. Thanks SO MUCH for that link!

Last edited by nolsen034; 02-28-2008 at 09:27 PM.
 
  


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
fdisk: unable to open /dev/hda andykerouac Linux - Newbie 7 07-18-2008 07:49 AM
unable to seek on /dev/hda santhosh23 Linux - Hardware 1 01-11-2007 09:32 PM
unable to zero /dev/hda fgnoser Linux - Software 5 05-04-2005 09:07 AM
Unable to write /dev/hda--during installation SeanatIL Linux - Hardware 5 07-08-2004 01:40 AM
fdisk gives unable to read /dev/hda... mbr is gone... what can it be? slackie1000 Linux - Hardware 5 01-27-2004 04:29 AM

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

All times are GMT -5. The time now is 11:57 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