Bug#672689: debian-installer: grub-pc failed to install into /target/

2012-08-19 Thread rcm0502
Hello:

I can reproduce this bug as I tried to do an expert install booting the
mini installer image FROM a USB stick, which happens to be the only USB
device attached. What I suggest is that the grub installer menu option to
prompt the user to select the target to install grub to if the installer
cannot determine the correct one on its own. This way the installer will
properly install grub to the correct target.

Hope this helps

Cheers,

R


Bug#672689: debian-installer: grub-pc failed to install into /target/

2012-05-12 Thread Fab
Package: debian-installer
Severity: important
Tags: d-i

I'm using this CD installer
http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-wheezy-
DI-a1-amd64-xfce+lxde-CD-1.iso
11-May-2012 19:59  644M

Using the expert installation mode, the error message say:
The 'grub-pc' package failed to install into /target/ .
Without the GRUB boot loader, the installed system will not boot.



-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672689: debian-installer: grub-pc failed to install into /target/

2012-05-12 Thread Cyril Brulebois
Fab usaegetta37-...@yahoo.com (12/05/2012):
 I'm using this CD installer
 http://cdimage.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-wheezy-
 DI-a1-amd64-xfce+lxde-CD-1.iso
 11-May-2012 19:59  644M
 
 Using the expert installation mode, the error message say:
 The 'grub-pc' package failed to install into /target/ .
 Without the GRUB boot loader, the installed system will not boot.

Can you please find out what failed? Alt+F4 should get you to
the VT where logging happens. Other VTs should give you a shell
for further inspection. If that's RAID+LVM, that might be #662086.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#672689: debian-installer: grub-pc failed to install into /target/

2012-05-12 Thread fab

 Can you please find out what failed? Alt+F4 should get you
 to the VT where logging happens. Other VTs should give you a
 shell for further inspection. If that's RAID+LVM, that might be
 #662086.
 
 Mraw,
 KiBi.
 

My mother board support RAID but I've only a single SATA hard disk (sda).

The error log say:

grub-installer: dpkg: warning: ignoring request to remove grub-legacy...
in-target: Package grub-pc is not available, but referred to by abother
   package. This may mean that the package is missing, has been
   obsoleted, or is only available from another source.

in-target: E : Package 'grub-pc' has not installation candidate.

grub-installer: info: calling 'apt-install grub-pc' failed

main-menu[430]: chroot: can't execute 'grub-probe': 
No such file or directory
main-menu[430]: File descriptor 3 (pipe:[3317]) leaked on vldisplay 
invocation
main-menu[430]: Parent PID 7089: /bin/sh
main-menu[430]: File descriptor 4 (pipe:[3317]) leaked on vldisplay
invocation

main-menu[430]: Volume group sda not found
main-menu[430]: Skipping volume group sda
main-menu[430]: WARNING **: configuring 'grub-installer' failed with 
error code 1
main-menu[430]: WARNING **: Menu item 'grub-installer' failed


If this can help, I paste the output of mount command:

rootfs on / type rootfs (rw)
none on /run type tmpfs (rw,nosuid,relatime,size=102704k,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
none on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda11 on /target type ext2 (rw,relatime,errors=remount-ro)
/dev/sda11 on /dev/.static/dev type ext2 (rw,relatime,errors=remount-ro)
tmpfs on /target/dev type tmpfs (rw,relatime,mode=755)
/dev/sr0 on /target/media/cdrom0 type iso9660 (ro,relatime)
/dev/sr1 on /cdrom type iso9660 (ro,relatime)


Thanks
Fabio


--




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672689: debian-installer: grub-pc failed to install into /target/

2012-05-12 Thread fab
I solved the problem, due to the presence of two USB device.
In my last output (mount) there are /dev/sr0 and /dev/sr1

These devices are: 
- Onda MW833UP (umts USB pen drive)
- LG DVDRAM GP08NU20 (USB CD-ROM)

I've detached the first device before booting the installer
CD and the grub-installer now works.
I'm sorry to have created a bug on debian installer, but this 
means that sometimes after you install the system files and
the kernel, the device name from where get the package 
'grub-pc' may look different.

thanks for support

Fabio


---



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org