[Feisty] Hard drive device node not created in chroot environment

Bug #92271 reported by Brian Murray on 2007-03-14
Affects Status Importance Assigned to Milestone
rescue (Ubuntu)
Colin Watson

Bug Description

Using Feisty Fawn Herd 5 amd64-alternate CD daily build from 2007-03-11 I noticed that '/target/dev/sda' isn't created. So while I could chroot to '/target' I could not use grub-install because there was no device node for my hard drive in the chroot environment.

Steps to reproduce:

1) Choose rescue a broken system
2) Choose root file system (/dev/sda3)
3) Execute a shell in /dev/sda3
4) Try grub-install /dev/sda
5) Observe "/dev/sda: Not found or not a block device"
6) 'ls /dev/sd*' and find nothing

I was able to work around this by mounting '/dev' to '/target/dev' and then successfully installed grub to '/dev/sda'.

Tollef Fog Heen (tfheen) on 2007-04-02
Changed in rescue:
assignee: nobody → kamion
Colin Watson (cjwatson) wrote :

rescue (1.7ubuntu1) feisty; urgency=low

  * Bind-mount /dev, /proc, and /sys into /target if possible (LP: #92271).

 -- Colin Watson <email address hidden> Wed, 4 Apr 2007 10:07:26 +0100

Changed in rescue:
importance: Undecided → Medium
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers