Thread: OpenBSD Live-CD

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    0

    Question OpenBSD Live-CD


    Hi,

    I would like to build my own OpenBSD Live-CD. In this way, I have using a howto on alti.at site (http://www.alti.at/knowhow/obsdlivecd/index.php).

    But after some commands, I always got the same error.

    After some commands, I enter that:
    Code:
    # cd /usr/src/distrib/i386/ramdisk_cd 
    # rm -rf obj/* 
    # make
    And after some minutes of compilation, this error come:
    ...
    5760+0 records out
    2949120 bytes transferred in 0.103 secs (28396788 bytes/sec)
    vnconfig -v -c svnd0 /var/tmp/image.29453
    svnd0: 2949120 bytes on /var/tmp/image.29453
    disklabel -w svnd0 floppy288
    newfs -m 0 -o space -i 524288 -c 5760 /dev/rsvnd0a
    /dev/rsvnd0a: 2.8MB in 5760 sectors of 512 bytes
    1 cylinder groups of 2.81MB, 720 blocks, 32 inodes each
    super-block backups (for fsck -b #) at:
    32,
    mount /dev/svnd0a /mnt
    cp /usr/mdec/boot /usr/src/distrib/i386/ramdisk_cd/boot
    strip -s -R .comment -K cngetc /usr/src/distrib/i386/ramdisk_cd/boot
    dd if=/usr/src/distrib/i386/ramdisk_cd/boot of=/mnt/boot bs=512
    84+1 records in
    84+1 records out
    43060 bytes transferred in 0.001 secs (26862133 bytes/sec)
    dd if=bsd.gz of=/mnt/bsd bs=512

    /mnt: write failed, file system is full
    dd: /mnt/bsd: No space left on device
    5593+0 records in
    5592+0 records out
    2863104 bytes transferred in 0.193 secs (14782652 bytes/sec)
    *** Error code 1

    Stop in /usr/src/distrib/i386/ramdisk_cd (line 30 of /usr/src/distrib/i386/ramdisk_cd/../common/Makefile.inc).
    I precise I use OpenBSD 4.2 and a have a lot of place of DD. I have trying to install it (with the default install) on 20 Go with only two partitions: 16 Go for / (root) and 512 Mo for swap. But I've got the same error.

    If you have an idea about the final error, it's would be very helpfull
    Thank you.

    Sorry for my poor english.

    Best regards and happy new year 2008.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Madison
    Posts
    419
    Rep Power
    36
    What does:

    df -h | grep /mnt/bsd

    say?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2007
    Posts
    2
    Rep Power
    0
    Originally Posted by namotco
    What does:

    df -h | grep /mnt/bsd

    say?
    Thanks for your answer.

    The command df -h | grep /mnt/bsd return nothing. I also try to enter this one which give this:

    Code:
    # df -h                 
    Filesystem     Size    Used   Avail Capacity  Mounted on
    /dev/wd0a      2.0G    1.6G    307M    84%    /
    /dev/svnd0a    2.8M    2.8M    4.5K   100%    /mnt
    I belive the solution to solve the problem could be to up the size of /mnt partition. But I don't know how doing this.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2007
    Posts
    921
    Rep Power
    537
    The rule of interpreting error messages is to look at the FIRST error message rather than the last one, if you want an idea of the cause of the problem.
    Code:
    /mnt: write failed, file system is full
    dd: /mnt/bsd: No space left on device
    is consistent with the /mnt partition being full. As is this;
    Code:
    # df -h                 
    Filesystem     Size    Used   Avail Capacity  Mounted on
    /dev/wd0a      2.0G    1.6G    307M    84%    /
    /dev/svnd0a    2.8M    2.8M    4.5K   100%    /mnt
    Essentially you need to either work out how to free space on your /mnt partition, or work out a way to make it larger than 2.8M.

    The joys of digging up old posts ....

IMN logo majestic logo threadwatch logo seochat tools logo