FedoraForum.org - Fedora Support Forums and Community
Page 2 of 2 FirstFirst 12
Results 16 to 22 of 22
  1. #16
    Join Date
    Nov 2006
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bill_f
    That's where the editting of the init script and rebuilding the initrd comes in.

    The one you've got was probably built for you as part of the anaconda installation process.

    If your initrd script is called /boot/initrd-xxxxxxxxx.img, then you can unpack it with:

    mkdir /tmp/initrd
    cd /tmp/initrd
    gzip -cd /boot/initrd-xxxxxxxxx.img | cpio -imd --quiet


    then edit the init file at /tmp/initrd/init to change the entry with the old swap partition, then pack it up again with:

    cd /tmp/initrd
    find . | cpio -co | gzip -9 > /boot/initrd-xxxxxxxxx.img


    It would probably be a good idea to back up the old initrd file before you start in case it all goes wrong

    Thank you bill, this is what i am looking for, becuase i have a same error

    additionally, my hardisk is IDE not SATA, but FC8 recognises my HD is SATA, so gives me
    /dev/sda7, i am sure should be /dev/hda7..
    because i use same configuration for my GENTOO..

    /etc/fstab (GENTOO)

    /dev/hda2 / ext3 noatime 0 1
    /dev/hda7 none swap sw 0 0

    --------------------------------------------------------

    /etc/fstab (FC8)
    /dev/sda7 swap swap 0 0

    --------------------------------------------------------

    I am confuzed. if someone could help on this stage.
    thanks a lot.

  2. #17
    Join Date
    Oct 2005
    Location
    GMT
    Posts
    3,242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you are correct. Fedora recognizes all hard disks as SCSI since F7.
    Asus K55VD, i5 3230M - Productivity/Programming (F28)
    Asus M32CD - i7-6700, Asus STRIX-GTX970-DC2OC-4GD, 1x8 GB Sk Hynix 2133 MHz DDR4 - Gaming (W10)

  3. #18
    Join Date
    Nov 2006
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by giulix
    Yes, you are correct. Fedora recognizes all hard disks as SCSI since F7.
    Thank you giulix

  4. #19
    Join Date
    Nov 2006
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got One More question.

    i have extracted initrd.img file, and changed init file.

    i found my fstab file's swap is sdc7 , that was wrong, should be sda7.

    also in init file , i found
    "resume device /dev/sdc7" (seems point to the wrong SWAP partition)

    so i changed this line to
    "resume device /dev/sda7" ( my current SWAP partition)

    after editting, i repacked initrd.img file, it successfully worked, boot without any error msg..................

    just wondering, if the "resume device" points "SWAP"? if not what does "resume device" use for?

    thanks l lot
    Last edited by NAC; 22nd November 2007 at 04:04 AM.

  5. #20
    Join Date
    Nov 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I also encountered the message "Unable to access resume device" during boot time of my RHEL5.1 boxes.
    I resolved this by updating my /etc/fstab file with the correct informations (I switched from LABEL=SWAP-hda2 to LABEL=SWAP) and ran the command
    Code:
    new-kernel-pkg --mkinitrd --update 2.6.18-53.el5
    Then i made some checks by unpacking /boot/initrd-2.6.18-53.el5.img and editing the init file which was well updated with this line
    Code:
    resume device LABEL=SWAP

  6. #21
    Join Date
    May 2009
    Location
    Twin Cities (Mn)
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks all... your legacy lives on. You solved my problem as well. The more I learn the more I wish I knew!

  7. #22
    DukeRobillard Guest

    I had the same problem; unpacking & editing the init file fixed it

    Thanks!

    The init file had both my swap partition and another partition wrong, because I changed the jumper on my boot disk to cable-select (from slave). That moved it from hdd to hdc.

    (I'm using CentOS, but it's a Fedora cousin)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Unable to access resume device
    By westand in forum Using Fedora
    Replies: 2
    Last Post: 29th January 2009, 07:28 PM
  2. Error: Unable to access resume device
    By goowoo in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 23rd November 2007, 02:26 PM
  3. Error on boot : unable to access resume device
    By dshaw256 in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 4th November 2007, 09:02 PM
  4. Unable to access resume device (SWAP-hda6)
    By garrincha in forum Using Fedora
    Replies: 6
    Last Post: 15th February 2007, 01:09 PM
  5. "unable to access resume device
    By eckohio in forum Using Fedora
    Replies: 9
    Last Post: 28th January 2007, 08:32 PM

Tags for this Thread

Posting Permissions

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