Results 1 to 5 of 5

Thread: Install fails to format swap -3008

  1. #1
    PPreccable NNTP User

    Default Install fails to format swap -3008

    This is the same problem as described here:
    Formatting Problem In Install

    My system is a similar configuration HP Pavilion Intel quad core running XP X64, and has two SATA HD's originally (but no longer) confugured as RAID. The HD are now independent IDE drives, and set as such in CMOS. Windows has no problem with these drives.

    I used Gnome Partition Editor first to attempt installing to sda (C drive with Windows), and then recently sdb (D drive giving the entire drive to Linux).

    Versions of OpenSUSE I have tried to install include 10.2, 10.3, and 11.0.

    In every instance, the installer proposes a RAID configuration, which trashes my C drive.
    When I Change it to the proper single drive installation, OpenSUSE creates 3 partitions (home, root, and swap) in the unallocated disk space (which looks right), and then promptly fails during formatting of the swap partition that it just created.

    Failure occured during following action
    Formatting partition /dev/sda5 (2.0 GB) with swap
    System error code was -3008
    /sbin/mkswap/dev/sda5:
    /dev/sda5: Device or resourse busy

  2. #2
    PPreccable NNTP User

    Default Re: Install fails to format swap -3008

    No solution to this one? I've tried everthing I can think of, including giving a whole hard drive to OpenSuse.

    Any suggestions are appreciated. Otherwise, I guess my next option is to try a different version of Linux. I mainly just want to run Second Life under Linux.

  3. #3
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Install fails to format swap -3008

    PPreccable wrote:

    >
    > No solution to this one? I've tried everthing I can think of, including
    > giving a whole hard drive to OpenSuse.
    >
    > Any suggestions are appreciated. Otherwise, I guess my next option is
    > to try a different version of Linux. I mainly just want to run Second
    > Life under Linux.
    >
    >


    Could you try formatting it yourself by hand?

    During the installer, if you'll let it sit at a 'next' or something, then
    press CTRL-ALT-F2 or F3 or F4 (etc), you'll find a console with a "#"
    prompt. this is a root prompt, and you can poke around and do maintenance
    if you need.

    Could you post the output of 'fdisk -l' ?

    The designation of sda5 feels odd, as the MBR only have room for 4 entries
    (1,2,3,4), and one of those must be an 'extended' partition to have more.
    You said that this was "the rest of the drive", which implies it wasn't
    partitioned either.

    If you'd like to try it yourself to see if a better error occurs:

    mkswap /dev/sda5

    replace the sda5 with the appropriate partition name. fdisk should list the
    swap partition type as 'swap partition', or type 82, while filesystem
    partitions are type 83.

    Post the output of 'fdisk -l' and we'll see what you've got.


    --
    L R Nix
    lornix@lornix.com

  4. #4
    PPreccable NNTP User

    Default Re: Install fails to format swap -3008

    mkswap /dev/sda5 gives the same error:
    Device or resource busy

    fdisk -l (transcribed)

    Disk /dev/sda: 360.0 GB, 360080695296 bytes
    255 heads, 63 sectors/track, 43777 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 28477 228741471 7 HPFS/NTFS
    /dev/sda2 28478 43777 122897250 f W95 Ext'd (LBA)
    /dev/sda5 28478 28739 2104483+ Linux Swap/Solaris
    /dev/sda6 28740 31350 20972826 83 Linux
    /dev/sda7 31351 43777 99819846 83 Linux

  5. #5
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: Install fails to format swap -3008

    PPreccable wrote:

    >
    > mkswap /dev/sda5 gives the same error:
    > Device or resource busy
    >
    > fdisk -l (transcribed)
    >
    > Disk /dev/sda: 360.0 GB, 360080695296 bytes
    > 255 heads, 63 sectors/track, 43777 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    >
    > Device Boot Start End Blocks Id System
    > /dev/sda1 * 1 28477 228741471 7 HPFS/NTFS
    > /dev/sda2 28478 43777 122897250 f W95 Ext'd (LBA)
    > /dev/sda5 28478 28739 2104483+ Linux Swap/Solaris
    > /dev/sda6 28740 31350 20972826 83 Linux
    > /dev/sda7 31351 43777 99819846 83 Linux
    >
    >


    Is sda5 already mounted?

    What is output of 'mount' command?

    If it's already mounted, then it's working fine.

    Uh... if you're up and running to post the output of fdisk -l...

    It seems like your partition is already in use.
    --
    L R Nix
    lornix@lornix.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •