-
Junior Member
registered user
error when making swap in remastering[solved]
i get error when i type
Code:
dd if=/dev/zero of=swapfile bs=1024 count=700k
the error is
Code:
dd: writing `swapfile': No space left on device
217009+0 records in
217008+0 records out
222216192 bytes transferred in 79.557125 seconds (2793165 bytes/sec)
my swapfile is only 210 MB
but i want to make 700mb
my hdc5 is already mounted
Code:
mount
/dev/root on / type ext2 (rw)
/dev/hdb on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=194112k)
/UNIONFS on /UNIONFS type unionfs (rw,noatime,dirs=/ramdisk=rw:/KNOPPIX=ro)
/dev/pts on /dev/pts type devpts (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,devmode=0666)
automount(pid2055) on /mnt/auto type autofs (rw,fd=4,pgrp=2055,minproto=2,maxproto=4)
/dev/hdc5 on /mnt/hdc5 type ext3 (rw)
u need create partiton not in extended partition
-
Senior Member
registered user
What do you get with fdisk -p for /dev/hdc?
You may have to resize other partitions to create a larger swap partition.
Ideally the swap partition should be 2Gb or more for Knoppix remastering.
For example,
root@m:/home/mark# fdisk /dev/hda
The number of cylinders for this disk is set to 4864.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 2 134 1068322+ 84 OS/2 hidden C: drive
/dev/hda2 * 135 2556 19454715 c W95 FAT32 (LBA)
/dev/hda3 2557 4864 18539010 5 Extended
/dev/hda5 2557 2573 136521 83 Linux
/dev/hda6 2574 3012 3526236 83 Linux
/dev/hda7 3730 4040 2498076 82 Linux swap
/dev/hda8 3013 3729 5759271 83 Linux
/dev/hda9 4041 4864 6618748+ 83 Linux
Partition table entries are not in disk order?
-
Junior Member
registered user
Code:
fdisk /dev/hdc5
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 write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 7719.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/hdc5: 3984 MB, 3984228864 bytes
16 heads, 63 sectors/track, 7719 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
Command (m for help):
Similar Threads
-
By Fog_Watch in forum Hardware & Booting
Replies: 5
Last Post: 11-14-2007, 02:08 PM
-
By Dredman in forum Customising & Remastering
Replies: 3
Last Post: 10-07-2006, 10:23 PM
-
By Decibels in forum General Support
Replies: 1
Last Post: 01-04-2005, 04:11 AM
-
By your_breakfast in forum Customising & Remastering
Replies: 0
Last Post: 01-01-2005, 12:45 AM
-
By JoDaY in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-02-2003, 12:12 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic
$100.00

Vintage Edmark TouchWindow for Macintosh DeskTop Computer Touch Window Never Usd
$63.99

Vintage 1998 iMac G3 M4984 Mac OS + Keyboard Working but Needs Some Repair Read
$295.00

Apple A1243 Aluminum Wired Keyboard Full Size Slim Mac Genuine OEM
$19.00

Vintage Apple Macintosh Plus Desktop Computer - M0001A
$150.00

Apple Macintosh Classic Vintage Computer Model M0420 Year: 1990 Untested
$140.00

Vintage 1989 Apple Macintosh SE Desktop Computer Apple Model FDHD M5011 Untested
$180.00

Vintage Apple Macintosh M0100 Mouse 128K 512K Original Untested USA
$49.99

Vintage Apple Macintosh Keyboard M0115
$120.00

Mixed Lot Vintage Mac Windows media / Graphics / Sound Software - CDs 37 Pieces
$40.99