-
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

Vintage Genuine IBM 5182 Dot Matrix PRINTER RIBBON Black 6320194 NEW Discontinue
$22.00

🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP
$299.99

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00

Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New
$82.00

Vintage Computer Sun Ultra 1 UltraSpark Driven - Mystery condition as-is Parts
$49.78

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

IBM 1GB Microdrive DSCM-11000 CF+ Type II CompactFlash 07N4071 Vintage
$49.99

Vintage Teac FD-505 5.25" 3.5" Combo Drive 19307571-00
$199.99

🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE
$249.00