 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

6th December 2011, 06:45 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
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.
|

7th December 2011, 12:11 AM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,761

|
|
|
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 .
|

7th December 2011, 04:53 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
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.
|

7th December 2011, 10:43 PM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,761

|
|
|
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.
|

7th December 2011, 11:42 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
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.
|

8th December 2011, 08:31 PM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
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
|

8th December 2011, 11:47 PM
|
 |
Fedora QA Community Monkey
|
|
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 3,761

|
|
|
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?
|

9th December 2011, 01:14 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
Re: no such device no such disk
Yes, of course, thanks for checking.
|

9th December 2011, 01:42 AM
|
 |
Registered User
|
|
Join Date: Dec 2011
Posts: 47

|
|
|
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/
|

9th December 2011, 02:00 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
Re: no such device no such disk
OK, here is the RESULTS.txt
|

9th December 2011, 07:52 AM
|
|
Registered User
|
|
Join Date: Dec 2011
Posts: 8

|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:56 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|