Write-error on swap-device error on package install slack 12.2
I'm having a very peculiar problem:
I have a Desktop I built with 2GB RAM. I have 1999GB swap that I activate before I try to install slackware 12.2 by entering Code:
mkswap /dev/sda1 When I run the setup program, I designate /dev/sda1 as my swap, and /dev/sda2 as my root partition. When I install the packages, I get through the 1st couple series OK. BUT, when I get to around a certain point, I start seeing the error message below the install box: Code:
Write-error on swap-device (8:0:<lots of 1-4 digit #s) Code:
Killed. When I run the setup program again, it can't seem to detect my linux partition, and neither can (c)/fdisk When I reboot, it can again. What on earth is going on!? I am clueless, since nobody else seems to be having these problems. ANY and ALL help would be greatly appreciated!!! :cry: |
I don't understand why you would need 1999GB of swap. Even to run a big Oracle database a size of 2GB will do, IMHO.
Plus, AFAIK you don't need to activate anything before you run setup to install Sackware 12.2, so: Code:
mkswap /dev/sda1 Anyway, please send the output of fdisk -l |Edit]. And just in case, let setup check your swap partition for bad sectors before using it. |
OK, here's fdisk -l:
Code:
Device Boot Start End Blocks Id System I switched to tty4 in the middle of this process, and got the alarming message: Code:
Warning! Your mke2fs.conf file does not define the ext3 filesystem type. I then got this on tty4 too! Code:
Mount: wrong fs type, bad option, bad superblock on /dev/sda2, Ok, I switched to tty2 and entered that command. I got this! Code:
Buffer I/O error on device sda2, logical block 242244035 Mount said that it couldn't read the superblock again in the tty4 after I said OK, when the formatting of the / was finished. and then, write error on swap device messages appeared again, and then they stopped, to present a "insert next disc" dialog. The disc popped out, but suddenly popped in. I replaced the discs by pressing the button, and using quick fingers. More write error on swap device messages. >:( All of my ttys are filled with them. I always seem to get them just before the disc change... I'm really confusned now. |
Which file system do you have on sda2 ?
Did you use the option to format it given by setup ? If not, try it. |
I don't think formatting it was optional, mkswap does that.
Anyway, It's a linux swap partition, I think that's a format in of itself. Um... just a shot in the dark here... could this all be a BIOS config thing? Like I didn't set up my SATA drive properly or something? |
I was speaking about sda2 (used for your root partition), *not* about yours swap partition. Furthermore all the error messages you got but the first one are related to sda2, not sda1
So, please answer my question : which file system is installed on sda2 ? I mean, ext2, ext3, reiserfs, whatever ? Yes, formatting during setup *is* optional. Please re-run setup following *all the steps* in order ; when asked, accept to format at least your root partition (you can re-format your swap partition too, it won't hurt). For the file-system, you could choose ext3 or reiserfs (provided you use the huge-smp kernel at least for install). |
Ok, sorry, I told the setup to format it as ext3 when I installed.
I don't think I made it anything manually when I partitioned it, I think cfdisk may have done that for me, and then setup reformatted it. I've been formatting in setup the whole time, and following all steps in order... Would it be wasting my time to *not* format with the setup program? If so, how would I do that? |
Quote:
Sorry but I'm out of ideas :confused: Anybody have one to help chickenlinux out there ? |
I think I'll try setting the hard drive from AHCI to IDE and see if that helps. I'll try reconfiguring the BIOS...
|
I also tried Reiserfs this time, and got the following in tty4:
Code:
ATTENTION: YOU SHOULD REBOOT AFTER FDISK! When and how should I reboot then? |
Ok, none of this has worked...
|
OK, It turned out the stupid Seagate drive was defective :P
|
All times are GMT -5. The time now is 03:38 PM. |