Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Booting from external USB caddie +SSD
Booting from external USB caddie +SSD
Hi,
Have been fighting with this for 2 days now. In order to get more free slots for more hdds inside the whitebox workstation I have, I bought and external disk caddie + SSD that I thought I'd boot from.
Booting from the Debian USB stick and installing it on the external USB drive caddie+SSD works, but it just wont boot on my HP Z400.
Moving that SSD into the SATA connector boots just fine.
Tested booting from the USB drive caddie+SSD in another computer works so there is nothing wrong with the caddie itself.
Booting from the Debian USB bootstick obviously works, so I am thinking of imaging the USB bootstick to the USB drive caddie+SSD as a bootloader and then copy the real OS partition to the SSD ?
Have been fighting with this for 2 days now. In order to get more free slots for more hdds inside the whitebox workstation I have, I bought and external disk caddie + SSD that I thought I'd boot from.
Booting from the Debian USB stick and installing it on the external USB drive caddie+SSD works, but it just wont boot on my HP Z400.
Moving that SSD into the SATA connector boots just fine.
Tested booting from the USB drive caddie+SSD in another computer works so there is nothing wrong with the caddie itself.
Booting from the Debian USB bootstick obviously works, so I am thinking of imaging the USB bootstick to the USB drive caddie+SSD as a bootloader and then copy the real OS partition to the SSD ?
Re: Booting from external USB caddie +SSD
Moving drives around is tricky, and/or deleting partitions. The last thing I always (try to remember to) do is grub-install before a reboot when I'm doing stuff like this. On the other hand if you use UEFI then I'd reckon that would make no sense? I'm not down with the latest...
Two days is a long time, but yeah I've been there. I didn't really understand the problem description. Maybe if you posted partition layout, or blkid, or some info about what is a HP Z400? What's a whitebox workstation?
Two days is a long time, but yeah I've been there. I didn't really understand the problem description. Maybe if you posted partition layout, or blkid, or some info about what is a HP Z400? What's a whitebox workstation?
resigned by AI ChatGPT
Re: Booting from external USB caddie +SSD
isn't even the slowest SSD much faster than even the fastest USB connection?AlexL wrote:I bought and external disk caddie + SSD that I thought I'd boot from.
in other words, isn't this a waste of a perfectly good (and brand new) SSD?
Re: Booting from external USB caddie +SSD
Hi,bw123 wrote:Moving drives around is tricky, and/or deleting partitions. The last thing I always (try to remember to) do is grub-install before a reboot when I'm doing stuff like this. On the other hand if you use UEFI then I'd reckon that would make no sense? I'm not down with the latest...
Two days is a long time, but yeah I've been there. I didn't really understand the problem description. Maybe if you posted partition layout, or blkid, or some info about what is a HP Z400? What's a whitebox workstation?
Thank you for answering! I tried grub-install in all shapes, with removable tag and not and didn't get anywhere. As for the blkid its a simple debian install, no custom parameters AT ALL.
But you are saying it should work to move the boot partition of the USB stick to the SSD and point it at the main debian one , albeit with a lot of ninja ?
A HP Z400 is a regular workstation, nothing special about it other that it being old...
Yes it is indeed slower especially since the workstation itself only has USB2 connectors... but I gain one more SATA slot... I would happily run debian on a USB stick honestly but am afraid the OS will die once it trashwrites the USB stick..isn't even the slowest SSD much faster than even the fastest USB connection?
in other words, isn't this a waste of a perfectly good (and brand new) SSD?
Re: Booting from external USB caddie +SSD
No I never said any ninja skills, just trying to figure out how many drives/partitions and what hardware you have. I don't understand why you need to install and then move anything. Maybe I'm just dense, don't understand the problem, what are you trying to do?AlexL wrote: ...
But you are saying it should work to move the boot partition of the USB stick to the SSD and point it at the main debian one , albeit with a lot of ninja ?
...
There is a thing called bootinfoscript that a lot of people used to use. I don't have a link or even know if it is still around, but it was pretty good at collecting information...
resigned by AI ChatGPT
Re: Booting from external USB caddie +SSD
I have:bw123 wrote:No I never said any ninja skills, just trying to figure out how many drives/partitions and what hardware you have. I don't understand why you need to install and then move anything. Maybe I'm just dense, don't understand the problem, what are you trying to do?AlexL wrote: ...
But you are saying it should work to move the boot partition of the USB stick to the SSD and point it at the main debian one , albeit with a lot of ninja ?
...
There is a thing called bootinfoscript that a lot of people used to use. I don't have a link or even know if it is still around, but it was pretty good at collecting information...
HP Z400 workstation (that has USB2 only, and is full of storage disks sitting on the SATA ports)
HP Z400 BIOS is updated to the latest version. BIOS settings are ok, since I tested ALL of them.
1x USB Debian stick 8gb
1x Kingston SSD 120gb (OS Boot drive)
1x SATA to USB caddie.
I can boot the HP Z400 from the USB Debian stick and install Debian on the OS Boot drive that is in the USB caddie.
I cannot(!) boot from the OS Boot drive (that is in the SATA to USB caddie) on the HP Z400.
If I take the out the installed OS Drive fro the USB caddie and boot the HP Z400 from SATA it works.
I can boot from the OS Boot drive that is in the SATA to USB caddie on another computer however, which means the caddie is ok.
So now I am trying to boot on the USB Debian stick, and point it to the OS Boot drive (that is in the SATA to USB caddie). Was hoping for a guide really
Re: Booting from external USB caddie +SSD
So I installed Proxmox which is Debian Stretch with packages tacked on and had the same issue. The way I "resolved" it was to boot the Proxmox boot ISO/USB and to run "Rescue mode".
This is the grub.cfg: https://pastebin.com/d1enKSq8
Relevant lines are:
This is the grub.cfg: https://pastebin.com/d1enKSq8
Relevant lines are:
So I am now guessing a dd the boot partition on the USB and use gparted to copy that to the external USB caddie in order to get grub to boot on my computer?menuentry 'Rescue Boot!' --class debian --class gnu-linux --class gnu --class os {
insmod lvm
insmod ext2
set tmproot=$root
if test -e (lvm/pve-root)/boot/pve/vmlinuz; then
echo 'LVM Rescue Boot ...'
linux (lvm/pve-root)/boot/pve/vmlinuz ro ramdisk_size=16777216 root=/dev/mapper/pve-root
initrd (lvm/pve-root)/boot/pve/initrd.img
boot
else
insmod zfs
search --no-floppy --label rpool --set root
if test -e /ROOT/pve-1/@//boot/pve/vmlinuz; then
echo 'ZFS Rescue Boot ...'
linux /ROOT/pve-1/@//boot/pve/vmlinuz ro ramdisk_size=16777216 root=ZFS=rpool/ROOT/pve-1 boot=zfs
initrd /ROOT/pve-1/@//boot/pve/initrd.img
boot
else
echo 'ERROR: unable to find boot disk automatically.'
fi
fi
set root=$tmproot
}
Re: Booting from external USB caddie +SSD
have you checked the drive boot order in your bios?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: Booting from external USB caddie +SSD
Did that, updated the BIOS, tried all BIOS settings, even the ones that dont have anything to do with disks/boot order..milomak wrote:have you checked the drive boot order in your bios?
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Booting from external USB caddie +SSD
What do you mean exactly by "it just won't boot" ?AlexL wrote:Booting from the Debian USB stick and installing it on the external USB drive caddie+SSD works, but it just wont boot on my HP Z400.
Moving that SSD into the SATA connector boots just fine.
What you mean by "resolved" ? What actions did you take after booting the installer in rescue mode ?AlexL wrote:So I installed Proxmox which is Debian Stretch with packages tacked on and had the same issue. The way I "resolved" it was to boot the Proxmox boot ISO/USB and to run "Rescue mode".
More information is needed : EFI or legacy boot, partition layout...
Re: Booting from external USB caddie +SSD
p.H wrote:What do you mean exactly by "it just won't boot" ?AlexL wrote:Booting from the Debian USB stick and installing it on the external USB drive caddie+SSD works, but it just wont boot on my HP Z400.
Moving that SSD into the SATA connector boots just fine.
Booting from the Debian USB stick and installing it on the external USB drive caddie+SSD works, but [Debian will not boot from the USB external enclosure] on my HP Z400.
What you mean by "resolved" ? What actions did you take after booting the installer in rescue mode ?AlexL wrote:So I installed Proxmox which is Debian Stretch with packages tacked on and had the same issue. The way I "resolved" it was to boot the Proxmox boot ISO/USB and to run "Rescue mode".
I managed to boot on the USB external enclosure by using the rescue mode in Proxmox. I also quoted the relevant lines which makes it boot, essentially it is locating the LVM partition on the SSD.
More information is needed : EFI or legacy boot, partition layout...
This is legacy BIOS boot, partition layout is the default one, nothing is customised.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Booting from external USB caddie +SSD
You are repeating the same things without providing any extra information.
What did you do to try to make it boot ?
What happened exactly ?
Not detailed enough.AlexL wrote:Debian will not boot from the USB external enclosure
What did you do to try to make it boot ?
What happened exactly ?
I don't know what the "rescue mode in Proxmox" is. Proxmox is not Debian. Is it the same as the Debian installer in rescue mode ? It does nothing by itself, so what did you do exactly ?AlexL wrote:I managed to boot on the USB external enclosure by using the rescue mode in Proxmox.
These lines are GRUB commands. Where did you put these lines ? It means that GRUB could boot. What GRUB ? The one on the external SSD or on the Proxmox installation media ?AlexL wrote:I also quoted the relevant lines which makes it boot
I don't know what "the default one" is. Please show.AlexL wrote:partition layout is the default one
Re: Booting from external USB caddie +SSD
p.H wrote:You are repeating the same things without providing any extra information.
Not detailed enough.AlexL wrote:Debian will not boot from the USB external enclosure
What did you do to try to make it boot ?
What happened exactly ?
Installed Debian from the installer USB, on to an SSD in an USB enclosure. This went fine but taking out the installer USB meant that GRUB wont ever get loaded on the SSD in the USB enclosure.
I don't know what the "rescue mode in Proxmox" is. Proxmox is not Debian. Is it the same as the Debian installer in rescue mode ? It does nothing by itself, so what did you do exactly ?AlexL wrote:I managed to boot on the USB external enclosure by using the rescue mode in Proxmox.
Proxmox is Debian, with some packages and other customizations added.. I will try the Debian installer rescue mode as well to check.
These lines are GRUB commands. Where did you put these lines ? It means that GRUB could boot. What GRUB ? The one on the external SSD or on the Proxmox installation media ?AlexL wrote:I also quoted the relevant lines which makes it boot
I was able to boot the GRUB located on the Proxmox installer media, and from there run the Rescue mode which apparently enumerates LVMs and tries to boot from them one by one.
I don't know what "the default one" is. Please show.AlexL wrote:partition layout is the default one
Will get back with this information.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Booting from external USB caddie +SSD
This is not the kind of information I am expecting. Please describe what you did after the installation to boot on the USB enclosure and what happened (what was displayed and so on). Did you tprompt the firmware boot menu and select the USB enclosure ?AlexL wrote:Installed Debian from the installer USB, on to an SSD in an USB enclosure. This went fine but taking out the installer USB meant that GRUB wont ever get loaded on the SSD in the USB enclosure.
AFAIK, the Debian installer rescue mode does not do this. It does not boot anything but the installer itself.AlexL wrote:I was able to boot the GRUB located on the Proxmox installer media, and from there run the Rescue mode which apparently enumerates LVMs and tries to boot from them one by one.