GRUB loading. error no such device. USB stick used once on different machine.

windsor

New Member
Dec 3, 2014
3
0
1
Hi, Thank you for creating a wonderful product and sharing your work and knowledge. Perhaps someone can help me understand this situation?

Using Proxmox 3.3 iso installation from USB stick.

Installation proceeds perfectly for the first machine.

Then if I try to use the same USB stick to install on a second machine I get this error:

Grub loading.
Welcome to GRUB!

error: no such device: d669a004-5a3d-438c-871f-c7f19fe18784.
Entering rescue mode...
grub rescue>

As a workaround, I just re-create the USB stick from the iso. and it works?!?!

The problem is, it takes a long time to burn the iso back onto the USB stick.

Is it possible that the Proxmox installation procedure somehow makes a change to the USB stick during the first (successful) installation?

How can I avoid having to re-burn the iso back on the USB? Is there some files I can just change on the USB stick after the successful install?

Here is the procedure I am currently using that works every time the first time using a fresh usb stick:

1. On Win7 PC Download the Proxmox VE 3.3 iso from http://proxmox.com/downloadsproxmox-ve_3.3-a06c9f73-2.iso

2. Insert a USB stick in Win7 PC

3. Use Rufus on a Win7 PC to burn the ISO image to USB stick
a. use default settings except choose ISO ... and select image from downloads directory.

4. When Rufus is done copy proxmox-ve_3.3-a06c9f73-2.iso from downloads directory to root of USB stick

5. eject the USB from the Win 7 PC and insert USB in Server which will be used for Proxmox

6. Set the bios settings on server to boot from USB first and restart Server

7. At the proxmox splash screen at the boot: prompt type 'debug'

8. Notice and write down the /dev/sd<x> name of the USB drive from the console messages (e.g. /dev/sda =>usb )

9. Wait for messages that say can't find cd rom. at root prompt I type the following to mount usb as a loop device.
a. # mount -t vfat /dev/sda /mnt
b. # mount -o loop -t iso9660 /mnt/proxmox-ve_3.3-a06c9f73-2.iso /mnt
c. # chroot /mnt sbin/unconfigured.sh

10. At Proxmox GUI, fill in 4 screens and proceed.
a. the target destination is usually /dev/sdb1 which is a RAID-1 mirrored device using 9550-SXU-4LP raid controller with 2 drives attached.

11. After the installer finishes I hit the reboot button, but leave the USB stick in the server

12. After the server reboots, I can login to Proxmox on the server.

13. Next I install grub on /dev/sd<x> where sd<x> is my mirrored raid device
a. grub-install /dev/sdb

14. after success message I change the proxmox repo to no subscription in etc/apt/sources...
a. vi /etc/apt/sources.list.d/pve*
b. comment out the line begining with 'deb http://...' and ":wq!" to exit vi
c. vi /etc/apt/sources.list
d. add line 'deb http://download.proxmox.com/debian wheezy pve-no-subscription

15. Now update the apt repository and upgrade the distribution
a. apt-get update
b. apt-get -y dist-upgrade

16. Then shutdown the Server pull out USB and restart
a. #shutdown -h now
b. pull out USB stick
c. power on the server.

17. At this point Server 1 works great!

But if I try to re-use the same USB on a different Server ( with the exact same hardware/bios configuration) I get the grub error

Grub loading.
Welcome to GRUB!

error: no such device: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx.
Entering rescue mode...
grub rescue>

How can I avoid having to re-burn the USB stick each time I want to install proxmox on a new Server?

Thank you for your time and great work!

Respectfully,
Windsor