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

 

 

 

[SOLVED] Live boot without a SATA drive?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

[SOLVED] Live boot without a SATA drive?

#1 Post by Number3124 »

I'm attempting to recover a laptop. It's SATA drive has failed catastrophically. Until I'm able to get in a new SATA HDD I'm attempting to recover some use of the laptop with a live boot disk of Debian 10.0.0 and an external USB HDD. Unfortunately the live boot fails, returning: ata1: COMREST failed (errno=-32). As near as I can tell this means that it is failing to establish a connection with the internal SATA drive, which, if course it would considering that the SATA drive has failed.

Is there anyway to bypass this part of the live boot or point it towards an external USB HDD instead?
Last edited by Number3124 on 2019-11-23 22:04, edited 1 time in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Live boot without a SATA drive?

#2 Post by p.H »

The BIOS may allow to disable the SATA controller or a SATA port/device.
Can't you just remove the failed drive ?
Try to add the parameter "libata.force=disable" to the kernel command line while in the boot loader menu.

User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

Re: Live boot without a SATA drive?

#3 Post by Number3124 »

p.H wrote:The BIOS may allow to disable the SATA controller or a SATA port/device.
Can't you just remove the failed drive ?
Try to add the parameter "libata.force=disable" to the kernel command line while in the boot loader menu.
I'll give those a try later on.

Would just disconnecting the failed drive allow the live boot to occur?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Live boot without a SATA drive?

#4 Post by p.H »

I don't understand the question : doesn't the live boot already occur ?

User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

Re: Live boot without a SATA drive?

#5 Post by Number3124 »

p.H wrote:I don't understand the question : doesn't the live boot already occur ?
It starts to boot, but it hangs trying to reach the desktop on that error in the OP. The drive will boot on other systems, but this system fails to boot, eventually going to sleep because of the lack of activity after the call for a SATA drive fails enough for the boot to give up.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Live boot without a SATA drive?

#6 Post by Dai_trying »

I would remove the failed/failing drive and then try booting the live system and after you get to the live desktop insert the external hdd and install if required, it my be that the hdd failure is causing a problem with the system. It will depend on your BIOS/UEFI options as to whether you will be able to boot/run this way though.

User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

Re: Live boot without a SATA drive?

#7 Post by Number3124 »

Dai_trying wrote:I would remove the failed/failing drive and then try booting the live system and after you get to the live desktop insert the external hdd and install if required, it my be that the hdd failure is causing a problem with the system. It will depend on your BIOS/UEFI options as to whether you will be able to boot/run this way though.
Thanks. I'll take a stab at that and see how it does. Let you know how it goes.

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Live boot without a SATA drive?

#8 Post by Dai_trying »

If your external device is connected via usb and the system is set to boot from usb then it should work, I have done this before when installing to a hdd for use on another machine.

User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

Re: Live boot without a SATA drive?

#9 Post by Number3124 »

Dai_trying wrote:If your external device is connected via usb and the system is set to boot from usb then it should work, I have done this before when installing to a hdd for use on another machine.
I got the boot working by taking out the SATA HDD so that answers the original question. I'm waiting on the install to the external HDD now. Hopefully this should do the job in the short-term.

andre@home
Posts: 398
Joined: 2011-10-02 08:00

Re: [SOLVED] Live boot without a SATA drive?

#10 Post by andre@home »

Can the secure option in the bios be the cause of your boot failure?
https://unix.stackexchange.com/question ... ternal-hdd

Also this may be a point of attention
https://www.dionysopoulos.me/portable-u ... n-usb-hdd/
It may or may be necessary for the latest Debian, you have to check it.
As you could boot without the internal HD, it is likely not your problem/solution.
Most affected boards (including my Intel NUC) have an option to enable the xHCI host controller interface by default. Enabling the xHCI option in the BIOS fixes the hanging boot issue.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [SOLVED] Live boot without a SATA drive?

#11 Post by p.H »

andre@home wrote:Can the secure option in the bios be the cause of your boot failure?
No. Totally unrelated.

By the way, it was NOT a boot failure. At the time of the failure, the boot process was completed.

User avatar
Number3124
Posts: 92
Joined: 2011-11-28 19:52
Location: Norfolk, Virginia, USA

Re: [SOLVED] Live boot without a SATA drive?

#12 Post by Number3124 »

andre@home wrote:Can the secure option in the bios be the cause of your boot failure?
https://unix.stackexchange.com/question ... ternal-hdd

Also this may be a point of attention
https://www.dionysopoulos.me/portable-u ... n-usb-hdd/
It may or may be necessary for the latest Debian, you have to check it.
As you could boot without the internal HD, it is likely not your problem/solution.
Most affected boards (including my Intel NUC) have an option to enable the xHCI host controller interface by default. Enabling the xHCI option in the BIOS fixes the hanging boot issue.
Removing the failed HDD resolved the problem. After removing it I was able to successfully boot into Debian 10 Live and install it on an external HDD.

Post Reply