<---- template headericclude ----->
no such device no such disk
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    no such device no such disk

    Hello Fedora community,

    Title of the post is not from a song, it's output I get after choosing to boot a Windows Vista installation on a second hard drive. That hdd was only one in the laptop and booted well. I took it out to add new primary storage, an ssd drive, and installed Fedora 16 on ssd using a dvd. Then I took dvd reader out of the system, and put old hdd back in place of dvd. Windows did not appear as option automatically on next boot. I first booted into Fedora 16 on ssd, ran grub2-mkconfig which detected drive with Windows on it, and generated grub.conf with new entries. After restart, choosing to boot that Windows installation on second drive fails with "no such device no such disk" messages.

    Attached is zip archive of my grub.cfg.

    Any ideas on what could be wrong or how to resolve this one are welcome.

    Thanks in advance!

    Regards,
    Stevo.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    can you provide a picture of the failure screen? it might help figure out exactly where the problem lies.

    Can you also attach /boot/grub2/device.map ?

    I'm not entirely convinced about the '/dev/sdb'. As a shot in the dark, try changing /dev/sdb,msdos1 to hd1,msdos1 and /dev/sdb,msdos2 to hd1,msdos2 .
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  3. #3
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    Adam,

    Thanks for replying!

    Attached is archive of my /boot/grub2/device.map file. Can take a picture of error during boot but basically it says:

    error: no such device: %some device id%
    error: no such disk

    press any key ....



    Have to learn about grub2 to make more sense of info in device.map, but since I don't see hd1 listed there I didn't try making changes you suggested, yet.
    Attached Files Attached Files

  4. #4
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    interesting. if you run 'grub2-mkdevicemap -m /tmp/device.map' from Fedora then look at /tmp/device.map , how does it compare to /boot/grub2/device.map ? still no second disk shown? I suspect if you use grub2-mkdevicemap to make a new device.map file with the second disk attached, then the second disk will be in the device.map , and that'll help with the problem.
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  5. #5
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    New device.map is different (see attached new device.map zip archive), but still no luck with booting to Windows. Luckily booting to Fedora still works.
    Attached Files Attached Files

  6. #6
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    Here are more details that maybe could help:


    [root@sslavic ~]# grub2-probe --target=fs_uuid /media/windows/bootmgr
    grub2-probe: error: cannot stat `tmpfs'.
    [root@sslavic ~]# blkid
    /dev/sda2: UUID="2bafb21a-0f1b-4208-b8a8-330829e15c02" TYPE="ext4"
    /dev/sda3: UUID="ad6b7c26-2ac1-4fd7-b912-799c1c6bdee4" TYPE="ext4"
    /dev/sda4: UUID="8e3b16e6-0e15-4e5f-886b-ebf4d6b3fbd3" TYPE="swap"
    /dev/sda5: UUID="e1bd4dae-bb09-4039-ba5a-15f0341f61f8" TYPE="ext4"
    /dev/sdb2: LABEL="HP_RECOVERY" UUID="6250038B5003655F" TYPE="ntfs"
    /dev/sdb3: LABEL="OS_TOOLS" UUID="761462D214629541" TYPE="ntfs"
    /dev/sdb1: LABEL="OS" UUID="31E104CA17A7D4C4" TYPE="ntfs"
    /dev/sdb5: LABEL="DATA" UUID="AC540EEF540EBBD8" TYPE="ntfs"
    [root@sslavic ~]# cat /etc/fstab

    #
    # /etc/fstab
    # Created by anaconda on Sat Dec 3 18:53:23 2011
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    UUID=ad6b7c26-2ac1-4fd7-b912-799c1c6bdee4 / ext4 defaults 1 1
    UUID=2bafb21a-0f1b-4208-b8a8-330829e15c02 /boot ext4 defaults 1 2
    UUID=e1bd4dae-bb09-4039-ba5a-15f0341f61f8 /home ext4 defaults 1 2
    UUID=8e3b16e6-0e15-4e5f-886b-ebf4d6b3fbd3 swap swap defaults 0 0
    /dev/sdb1 /mount/windows ntfs-3g defaults 0 0

  7. #7
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    sslavic: the command I created intentionally doesn't overwrite your existing device.map , it just creates a new one in /tmp for us to examine. Nothing would *use* the new one unless you moved it into /boot/grub2/ . Did you do that?
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  8. #8
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    Yes, of course, thanks for checking.

  9. #9
    Join Date
    Dec 2011
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    it would be easier if we have all the info in 1 post! can you go here and run these script, then post/attach the results..
    http://sourceforge.net/projects/bootinfoscript/

  10. #10
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    OK, here is the RESULTS.txt
    Attached Files Attached Files

  11. #11
    Join Date
    Dec 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: no such device no such disk

    Applied all the recent Fedora 16 updates, including kernel 3.1.4, run grub2 to generate device.map and grub.cfg again, and now when I try to boot windows I get:

    hd1 cannot get c/h/s values


    Finding some hints that it might be some bios limitation, that it can not see the second hard drive. Machine is hp 8710p laptop, with hdd in place of dvd, and primary drive is sdd.

Similar Threads

  1. dracut Warning: No root device "block:/dev/disk/by-uuid/..." found
    By Pienia in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 11th November 2011, 05:34 PM
  2. [SOLVED]
    Device name of external hard disk?
    By kurtdriver in forum Hardware
    Replies: 3
    Last Post: 28th April 2010, 05:56 AM
  3. How to create RAW disk device in Fedora 12
    By fedora12user in forum Using Fedora
    Replies: 5
    Last Post: 4th March 2010, 02:09 PM
  4. Replies: 1
    Last Post: 3rd July 2005, 01:59 PM
  5. Floppy Disk: Device or resource busy
    By guarriman in forum Using Fedora
    Replies: 1
    Last Post: 24th May 2005, 05:31 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
  •  
[[template footer(Guest)]]