LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2007, 10:36 PM   #1
Rayburn96
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Slackware 12.0 fdisk: Re-reading the partition failed Error 22: Invalid Argument


I have a Pentium 1 PC w/ 64MB of RAM and Windows 2000. I'm trying to install Slackware 12.0 from an ISO on the hard drive since I don't have an extra DVD burner or discs right now. There is 1 3.7GB Drive installed, which is where Windows 2k is installed, then a 40GB drive installed. I can get to the root@slackware #/ prompt, but I can't format the partitions on the 40GB drive. Typing "parted" then "print all" shows both drives with their correct sizes and partitions. There are several partitions on the 40GB drive, one is 19GB, another is 6.4GB, another 5.0GB, another 2.0GB, another 5.8GB (which is where the contents of the ISO are stored)

I can't format any of the partitions that are on the 40GB drive. They all were created in Windows 2000 with FAT32 (except the 2.0GB partition which is FAT16). The problem I get is with both fdisk and cfdisk, I get the message "WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table.
The new table will be used at next reboot.
Syncing disks."

When I reboot, it's like nothing has happened. I've tried Parted, and it fails too, giving a message "Error: Error informing the kernel about modifications to partition /dev/hdd5p1 -- Invalid argument. This means Linux won't know about any changes you made to /dev/hdd5p1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Ignore/Cancel?"

I type ignore, then reboot, then type at the prompt "cfdisk /dev/hdd5" then press enter, and CFDISK appears and shows the partition formatted as Linux, however typing "fdisk -l" shows the same partition formatted as the FAT32 filesystem. What's going on and how can I fix it? Thanks.
 
Old 08-02-2007, 02:01 AM   #2
Rayburn96
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Never mind! I think it's going to work. I downloaded Ramish, but Ramish only saw the first 8GB. But with Ramish I was able to create a 800MB linux swap (at the beginning of the disk too), then a 4.8GB linux partition. After that I booted to 2k and use the Disk Manager to handle the rest of the disk. Now the installation is installing the packages! Thanks anyway.
 
  


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
cryptsetup error (Command failed: Invalid argument) SlackN00b Slackware 5 02-07-2007 01:59 PM
HDIO_GET_MULTCOUNT failed: Invalid argument yashwantpinge Linux - Hardware 1 06-02-2006 10:36 AM
cryptsetup - command failed: invalid argument Captain Harlock Debian 2 05-09-2006 01:18 AM
KBENT: Invalid argument failed to bind key 255 to value 3119 brynjarh Linux - Newbie 0 06-30-2004 03:40 AM
Mount Failed: Invalid Argument BoboBrazil Linux - Software 4 07-13-2003 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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