Hi,
Has any one been successful in installing and booting up a debian squeeze with a hp dv7 4169wm with an external usb drive - seagate 1.5T goflex ? I was able to install the os ok but it always bootup to grub-rescue prompt and it complains about not able to see the UUID of the external disk. Doing a ls shows only my first sda drive with windows 7 and ubuntu wubi on it ....
Thanh
-
ALLurGroceries Vegan Vermin Super Moderator
It sounds like a problem with the device map when grub was installed. You can reinstall grub from rescue mode, and rerun grub-mkdevicemap manually. I wrote my own guide for this but the Ubuntu wiki is just as good: https://help.ubuntu.com/community/Grub2#Reinstalling from LiveCD
See the method for chroot. -
Thanks for replying. I had an internal 750G sata drive with dual boot windows 7 and a wubi installed ubuntu maverick 10.10 booting just fine then when i installed an external usb 3.0 1.5TB seagate drive with debian squeeze 6.0 and that is when I saw the problem. I used the default partion tables the installation CD came up with and allowed it to install grub at the end of the install. I tried the different methods that was described in the document however I keep getting permission errors no matter what I did. I used the following chroot command to see if the permission errors go away but it didn't work:
sudo chroot /media/6982a57d-61ae-4378-b3d1-98da9f5fd3e7 /bin/bash
Here is the output:
tdinh@ubuntu:~$ sudo -i
[sudo] password for tdinh:
root@ubuntu:~# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x40c486bc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 203776 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 87241 700554240 7 HPFS/NTFS
/dev/sda3 87241 91189 31709184 7 HPFS/NTFS
/dev/sda4 91189 91202 105336 c W95 FAT32 (LBA)
Disk /dev/sdb: 1500.3 GB, 1500301909504 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005a0bb
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 181464 1457605632 83 Linux
/dev/sdb2 181464 182402 7530497 5 Extended
/dev/sdb5 181464 182402 7530496 82 Linux swap / Solaris
root@ubuntu:~# blkid
/dev/loop0: UUid='37d54e03-c4d6-42b9-a48c-e45a6b922958' TYPE="ext4"
/dev/sda1: LABEL="SYSTEM" UUid='C62C536D2C53580F' TYPE="ntfs"
/dev/sda2: UUid='FA927A5E927A1F77' TYPE="ntfs"
/dev/sda3: LABEL="RECOVERY" UUid='585CA0BF5CA09970' TYPE="ntfs"
/dev/sda4: LABEL="HP_TOOLS" UUid='F6F9-2A44' TYPE="vfat"
/dev/sdb1: UUid='6982a57d-61ae-4378-b3d1-98da9f5fd3e7' TYPE="ext3"
/dev/sdb5: UUid='8c1a3ded-8045-41ef-b66b-c380779b3e21' TYPE="swap"
root@ubuntu:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop0 29979608 4251128 24205588 15% /
none 1919280 328 1918952 1% /dev
none 1926144 188 1925956 1% /dev/shm
none 1926144 104 1926040 1% /var/run
none 1926144 0 1926144 0% /var/lock
/dev/sda2 700554236 103172312 597381924 15% /host
/dev/sdb1 1434734168 521124 1361332764 1% /media/6982a57d-61ae-4378-b3d1-98da9f5fd3e7
root@ubuntu:~# more /media/6982a57d-61ae-4378-b3d1-98da9f5fd3e7/boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set 6982a57d-61ae-4378-b3d1-98da9f5fd3e7
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set 6982a57d-61ae-4378-b3d1-98da9f5fd3e7
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class g
nu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set 6982a57d-61ae-4378-b3d1-98da9f5fd3e7
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=6982a57d-61ae-4378-b3d1-9
8da9f5fd3e7 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class
debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set 6982a57d-61ae-4378-b3d1-98da9f5fd3e7
echo 'Loading Linux 2.6.32-5-amd64 ...'
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=6982a57d-61ae-4378-b3d1-9
8da9f5fd3e7 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_otheros ###
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Windows Vista (loader)" {
set root=(hd0,msdos1)
search --no-floppy --fs-uuid --set c62c536d2c53580f
chainloader +1
}
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
menuentry "Windows Vista (loader)" {
set root=(hd0,msdos2)
search --no-floppy --fs-uuid --set fa927a5e927a1f77
chainloader +1
}
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
menuentry "Windows Vista (loader)" {
set root=(hd0,msdos3)
search --no-floppy --fs-uuid --set 585ca0bf5ca09970
chainloader +1
}
### END /etc/grub.d/30_otheros ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
root@ubuntu:~#Last edited by a moderator: May 7, 2015 -
ALLurGroceries Vegan Vermin Super Moderator
I'm not seeing the permissions errors you are talking about. It looks like you know that you need to be root (or use sudo) to do these commands so I'm a bit confused as to where you would be getting the permissions errors.
What I said earlier I still think is the fix, re-run the grub-mkdevicemap and re-install grub.
debian squeeze on hp dv7 4129wm
Discussion in 'Linux Compatibility and Software' started by tquocdinh, Mar 9, 2011.