Fedora Linux Support Community & Resources Center
  #1  
Old 6th December 2011, 07:45 AM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
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
File Type: zip grub.cfg.zip (1.2 KB, 73 views)
Reply With Quote
  #2  
Old 7th December 2011, 01:11 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,254
linuxfirefox
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #3  
Old 7th December 2011, 05:53 PM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
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
File Type: zip device.map.zip (236 Bytes, 80 views)
Reply With Quote
  #4  
Old 7th December 2011, 11:43 PM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,254
linuxfirefox
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #5  
Old 8th December 2011, 12:42 AM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
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
File Type: zip device.map.zip (276 Bytes, 58 views)
Reply With Quote
  #6  
Old 8th December 2011, 09:31 PM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
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
Reply With Quote
  #7  
Old 9th December 2011, 12:47 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,254
linuxfirefox
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #8  
Old 9th December 2011, 02:14 AM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
Re: no such device no such disk

Yes, of course, thanks for checking.
Reply With Quote
  #9  
Old 9th December 2011, 02:42 AM
fdrake Offline
Registered User
 
Join Date: Dec 2011
Posts: 47
linuxfirefox
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/
Reply With Quote
  #10  
Old 9th December 2011, 03:00 AM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
Re: no such device no such disk

OK, here is the RESULTS.txt
Attached Files
File Type: txt RESULTS.txt (25.0 KB, 105 views)
Reply With Quote
  #11  
Old 9th December 2011, 08:52 AM
sslavic Offline
Registered User
 
Join Date: Dec 2011
Posts: 8
linuxfirefox
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.
Reply With Quote
Reply

Tags
device, disk, grub2, ssd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
dracut Warning: No root device "block:/dev/disk/by-uuid/..." found Pienia Installation, Upgrades and Live Media 0 11th November 2011 05:34 PM
[SOLVED] Device name of external hard disk? kurtdriver Hardware & Laptops 3 28th April 2010 05:56 AM
How to create RAW disk device in Fedora 12 fedora12user Using Fedora 5 4th March 2010 02:09 PM
HAL Device Manager has problems in detecting usb disk in system in FC4 fire-fly Hardware & Laptops 1 3rd July 2005 01:59 PM
Floppy Disk: Device or resource busy guarriman Using Fedora 1 24th May 2005 05:31 PM


Current GMT-time: 06:41 (Saturday, 20-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Creek Side - Stockholm-Arlanda Airport (ARN) Travel Photos on Instagram - Marina of Koper Travel Photos - Te Whiti Park Instagram Photos - Texas State Fair Photos on Instagram