Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #270259 > unrolled thread

mounting external hard drive from rescue mode shell?

Started byHeriberto Avelino <heriberto.avelino@gmail.com>
First post2024-06-19 17:30 +0200
Last post2024-06-22 23:50 +0200
Articles 20 on this page of 32 — 14 participants

Back to article view | Back to linux.debian.user


Contents

  mounting external hard drive from rescue mode shell? Heriberto Avelino <heriberto.avelino@gmail.com> - 2024-06-19 17:30 +0200
    Re: mounting external hard drive from rescue mode shell? eben@gmx.us - 2024-06-19 18:00 +0200
    Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-19 19:10 +0200
    Re: mounting external hard drive from rescue mode shell? Heriberto Avelino <heriberto.avelino@gmail.com> - 2024-06-19 21:40 +0200
      Re: mounting external hard drive from rescue mode shell? eben@gmx.us - 2024-06-19 23:10 +0200
      Re: mounting external hard drive from rescue mode shell? <tomas@tuxteam.de> - 2024-06-20 06:40 +0200
      Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-20 07:10 +0200
        Re: mounting external hard drive from rescue mode shell? Max Nikulin <manikulin@gmail.com> - 2024-06-21 04:20 +0200
          Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-21 06:50 +0200
            Re: mounting external hard drive from rescue mode shell? Max Nikulin <manikulin@gmail.com> - 2024-06-22 05:00 +0200
              Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 13:50 +0200
                Re: mounting external hard drive from rescue mode shell? "Thomas Schmitt" <scdbackup@gmx.net> - 2024-06-22 14:40 +0200
                  Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 15:40 +0200
                Re: mounting external hard drive from rescue mode shell? Andy Smith <andy@strugglers.net> - 2024-06-22 16:00 +0200
                  Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 19:40 +0200
                    Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-22 22:20 +0200
                    Re: mounting external hard drive from rescue mode shell? Andy Smith <andy@strugglers.net> - 2024-06-23 00:40 +0200
                      Re: mounting external hard drive from rescue mode shell? "Andrew M.A. Cater" <amacater@einval.com> - 2024-06-23 11:50 +0200
                Re: mounting external hard drive from rescue mode shell? David Christensen <dpchrist@holgerdanske.com> - 2024-06-22 19:00 +0200
                  Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-22 19:20 +0200
                    Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-22 19:50 +0200
                      Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-23 18:40 +0200
                        Re: mounting external hard drive from rescue mode shell? <tomas@tuxteam.de> - 2024-06-23 19:20 +0200
                        Re: OT - list mail claimed to be "known" spam! (was: mounting  external hard drive...) Felix Miata <mrmazda@earthlink.net> - 2024-06-23 23:00 +0200
                          Re: OT - list mail claimed to be "known" spam! Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-24 01:10 +0200
                          Re: OT - list mail claimed to be "known" spam! (was: mounting external hard drive...) CHRIS M <CHRIS@cwm030.com> - 2024-06-24 04:40 +0200
                            Re: OT - list mail claimed to be "known" spam! John Hasler <john@sugarbit.com> - 2024-06-24 04:50 +0200
                            Re: OT - list mail claimed to be "known" spam! Felix Miata <mrmazda@earthlink.net> - 2024-06-24 05:00 +0200
                        Re: mounting external hard drive from rescue mode shell? Richard Owlett <rowlett@access.net> - 2024-06-24 17:40 +0200
                          Re: mounting external hard drive from rescue mode shell? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-06-25 00:00 +0200
                Re: mounting external hard drive from rescue mode shell? Jeffrey Walton <noloader@gmail.com> - 2024-06-22 23:20 +0200
                  Re: mounting external hard drive from rescue mode shell? "Andrew M.A. Cater" <amacater@einval.com> - 2024-06-22 23:50 +0200

Page 1 of 2  [1] 2  Next page →


#270259 — mounting external hard drive from rescue mode shell?

FromHeriberto Avelino <heriberto.avelino@gmail.com>
Date2024-06-19 17:30 +0200
Subjectmounting external hard drive from rescue mode shell?
Message-ID<IR5q1-44Nw-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Dear all:
Is it possible to mount an external hard drive while running Debian in
rescue mode?
Furthermore, the ultimate question is how could I copy folders from the
computer's hard drive to the external one while in rescue mode?
Many thanks!!
Heriberto

[toc] | [next] | [standalone]


#270260

Fromeben@gmx.us
Date2024-06-19 18:00 +0200
Message-ID<IR5T4-44X4-5@gated-at.bofh.it>
In reply to#270259
On 6/19/24 11:04, Heriberto Avelino wrote:
> Furthermore, the ultimate question is how could I copy folders from the
> computer's hard drive to the external one while in rescue mode?

Is your computer's hard drive is already mounted?  Are you comfortable in a
shell?

--
For is it not written, wheresoever two or three are gathered
together, yea they will perform the Parrot Sketch.

     -- Rob on ASR

[toc] | [prev] | [next] | [standalone]


#270262

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-06-19 19:10 +0200
Message-ID<IR6YO-45Ug-15@gated-at.bofh.it>
In reply to#270259
On 6/19/24 08:04, Heriberto Avelino wrote:
> Dear all:
> Is it possible to mount an external hard drive while running Debian in
> rescue mode?


Yes.


> Furthermore, the ultimate question is how could I copy folders from the
> computer's hard drive to the external one while in rescue mode?
> Many thanks!!
> Heriberto


This is how I start a rescue shell using debian-11.9.0-amd64-netboot media:

     Debian GNU/Linux installer menu (BIOS mode) -> Advanced options
     Advanced options -> Rescue mode
     Language -> C
     Continent or region -> North America
     Country, territory or area -> United States
     Keymap -> American English
     Hostname -> debianrescue
     Domain name -> tracy.holgerdanske.com
     Select your time zone -> Pacific
     Passphrase for /dev/sda3 -> <empty> -> Continue
     Device to use as a root file system -> Do not use a root file system
     Rescue operations -> Execute a shell in the installer environment
     Executing a shell -> Continue


Once busybox(1) is running, you can issue mount(8) and cp(1) commands 
similar to using a shell.


David

[toc] | [prev] | [next] | [standalone]


#270268

FromHeriberto Avelino <heriberto.avelino@gmail.com>
Date2024-06-19 21:40 +0200
Message-ID<IR9jY-47eg-19@gated-at.bofh.it>
In reply to#270259

[Multipart message — attachments visible in raw view] — view raw

Thanks Eben and David!
I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3)
I don't see the mounting points to execute cp.
There is nothing under media nor root; under usr I can see only: bin lib
local sbin share.
Where are the internal h-drive and the external?
I would very much appreciate your further help.
Who could have envisioned a community like this back in the 80's? This is
great!
Heriberto


On Wed, Jun 19, 2024 at 9:04 AM Heriberto Avelino <
heriberto.avelino@gmail.com> wrote:

> Dear all:
> Is it possible to mount an external hard drive while running Debian in
> rescue mode?
> Furthermore, the ultimate question is how could I copy folders from the
> computer's hard drive to the external one while in rescue mode?
> Many thanks!!
> Heriberto
>

[toc] | [prev] | [next] | [standalone]


#270272

Fromeben@gmx.us
Date2024-06-19 23:10 +0200
Message-ID<IRaJ4-48cY-13@gated-at.bofh.it>
In reply to#270268
On 6/19/24 15:23, Heriberto Avelino wrote:

> I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3)

> There is nothing under media nor root

Things mounted by the system would probably show up under /media or /mnt .

> Where are the internal h-drive and the external?

To mount those you need the device names.  Perhaps you'd be better off with
a graphical file manager.

--
And if the cloud bursts, thunder in your ear
You shout and no one seems to hear
And if the band you're in starts playing different tunes
I'll see you on th dark side of the moon -- PF, "Brain Damage", _DSotM_

[toc] | [prev] | [next] | [standalone]


#270285

From<tomas@tuxteam.de>
Date2024-06-20 06:40 +0200
Message-ID<IRhKx-4cJS-1@gated-at.bofh.it>
In reply to#270268

[Multipart message — attachments visible in raw view] — view raw

On Wed, Jun 19, 2024 at 01:23:01PM -0600, Heriberto Avelino wrote:
> Thanks Eben and David!
> I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3)
> I don't see the mounting points to execute cp.

As far as I know, you have dmesg in the rescue shell. So the way to
go would be:

- insert your external disc
- wait a second or two for things to settle
- issue "dmesg | tail"
- you'll see your kernel recognising external media and trying
  to make sense of it. Here's an example:

======================================================
tomas@caliban:~$ sudo dmesg | tail
[ 1124.990155] scsi host2: usb-storage 2-6:1.0
[ 1126.811573] scsi 2:0:0:0: Direct-Access              USB DISK         PMAP PQ: 0 ANSI: 6
[ 1126.812188] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 1126.814169] sd 2:0:0:0: [sdb] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[ 1126.814602] sd 2:0:0:0: [sdb] Write Protect is off
[ 1126.814613] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1126.814788] sd 2:0:0:0: [sdb] No Caching mode page found
[ 1126.814796] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 1126.820398]  sdb: sdb1
[ 1126.820515] sd 2:0:0:0: [sdb] Attached SCSI removable disk
======================================================

This was me inserting a DOS partitioned stick with one primary partition
(sdb1). Therefore, the block device will appear as /dev/sdb1.

Your mileage will almost certainly vary.

Now you can, e.g. say

mount /dev/sdb1 /mnt

The kernel will try to auto-detect which file system is on your partition.
You can, of course, choose another mount point than /mnt -- it has just
to be some directory. Its contents, if any, will be shadowed by your new
file system and won't be accessible as long as the mount is in effect.

From here on you can use mv, cp, whatever. Whenever copying lots of stuff
recursively, the option "-a" to cp comes in handy.

> There is nothing under media nor root; under usr I can see only: bin lib
> local sbin share.

Your rescue system is very bare-bones: it won't do automounting for you,
etc. I think that makes sense.

> Where are the internal h-drive and the external?
> I would very much appreciate your further help.

I hope the above description gets you started. In case of doubt, just
ask :)

> Who could have envisioned a community like this back in the 80's? This is
> great!

It is, yes. I'm very thankful for that.

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#270287

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-06-20 07:10 +0200
Message-ID<IRidz-4dak-17@gated-at.bofh.it>
In reply to#270268
On 6/19/24 12:23, Heriberto Avelino wrote:
> On Wed, Jun 19, 2024 at 9:04 AM Heriberto Avelino wrote:
>> Is it possible to mount an external hard drive while running Debian in
>> rescue mode?
>> Furthermore, the ultimate question is how could I copy folders from the
>> computer's hard drive to the external one while in rescue mode?


 > Thanks Eben and David!
 > I am now on a shell (BusyBox v.35.0 Debian 1:1.35.0-4+b3)
 > I don't see the mounting points to execute cp.
 > There is nothing under media nor root; under usr I can see only: bin
 > lib local sbin share.
 > Where are the internal h-drive and the external?
 > I would very much appreciate your further help.
 > Who could have envisioned a community like this back in the 80's? This
 > is great!
 > Heriberto


We are glad to help.  :-)


On Debian GNU/Linux, SATA drives (internal and external) should have 
special files (device nodes) under /dev.  You can use the ls(1) command 
and a glob pattern to find them:

~ # ls /dev/sd?

/dev/sda


You can use the fdisk(8) command to list the partitions on a drive.  For 
example, here is the drive containing Debian in the computer I am using now:

~ # fdisk -l /dev/sda
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Disk model: INTEL SSDSC2CW06
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x544032f5

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sda1  *        2048   1953791  1951744  953M 83 Linux
/dev/sda2        1953792   3907583  1953792  954M 83 Linux
/dev/sda3        3907584  29298687 25391104 12.1G 83 Linux
/dev/sda4       29298688 117229567 87930880 41.9G 83 Linux


Partitions can contain one of several things.  One possibility is a file 
system.  I keep detailed records on all of my OS's and drives, so I know 
what is what.  Figuring out the contents of an unknown drive using the 
Debian rescue shell is possible, but requires more knowledge and effort. 
  Using a live Linux distribution instead of the Debian rescue shell can 
make such tasks easier.  I install Debian onto a SATA SSD via a USB-SATA 
adapter cable for this purpose.


Once you have identified the device node of a partition that contains 
the file system that you want to read and/or write, you must mount the 
file system.  The first step is to create a mount point with mkdir(1):

~ # mkdir /scratch


The second step is to mount the file system with mount(8):

~ # mount /dev/sda4 /scratch


Repeat the above process to mount any additional file systems that you 
want to read and/or write.


One the file system(s) are mounted, you can read and/or write files 
and/or directories.  For example, you can use cp(1) to copy files from 
an internal drive to an external drive.


"Learning the Unix Operating System" is a good book for learning how to 
use Unix/ Linux from the command line:

https://www.oreilly.com/library/view/learning-the-unix/0596002610/


"UNIX and Linux System Administration Handbook" is a good book for 
learning how to administer Unix/ Linux from the command line:

https://www.oreilly.com/library/view/unix-and-linux/9780134278308/


"Design of the UNIX Operating System" is a good book for understanding 
how Unix worked around the time Linux Torvalds wrote Linux:

https://www.pearson.com/en-us/subject-catalog/p/design-of-the-unix-operating-system/P200000009243/9780132017992

https://en.wikipedia.org/wiki/Linus_Torvalds


David

[toc] | [prev] | [next] | [standalone]


#270327

FromMax Nikulin <manikulin@gmail.com>
Date2024-06-21 04:20 +0200
Message-ID<IRC2B-4pu6-1@gated-at.bofh.it>
In reply to#270287
On 20/06/2024 12:06, David Christensen wrote:
> You can use the fdisk(8) command to list the partitions on a drive.

lsblk --fs

perhaps with "-o +SIZE" may be more convenient to get overview of drives.

[toc] | [prev] | [next] | [standalone]


#270337

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-06-21 06:50 +0200
Message-ID<IREnL-4qSO-7@gated-at.bofh.it>
In reply to#270327
On 6/20/24 19:10, Max Nikulin wrote:
> On 20/06/2024 12:06, David Christensen wrote:
>> You can use the fdisk(8) command to list the partitions on a drive.
> 
> lsblk --fs
> 
> perhaps with "-o +SIZE" may be more convenient to get overview of drives.


The debian-11.9.0-amd64-netinst rescue shell does not include lsblk(8):

~ # lsblk
/bin/sh: lsblk: not found


David

[toc] | [prev] | [next] | [standalone]


#270352

FromMax Nikulin <manikulin@gmail.com>
Date2024-06-22 05:00 +0200
Message-ID<IRZ8R-4DXu-1@gated-at.bofh.it>
In reply to#270337
On 21/06/2024 11:39, David Christensen wrote:
> On 6/20/24 19:10, Max Nikulin wrote:
>> On 20/06/2024 12:06, David Christensen wrote:
>>> You can use the fdisk(8) command to list the partitions on a drive.
>>
>> lsblk --fs
>>
>> perhaps with "-o +SIZE" may be more convenient to get overview of drives.
> 
> The debian-11.9.0-amd64-netinst rescue shell does not include lsblk(8):

My bad, I missed that the topic is specific to installer rescue mode. I 
usually boot a live image for rescue. It is more convenient: more tools 
are available or can be temporary installed, a browser may be used to 
search for failure details. A possible downside is enabling of found 
swap partitions and automounting of removable drives.

[toc] | [prev] | [next] | [standalone]


#270365

FromRichard Owlett <rowlett@access.net>
Date2024-06-22 13:50 +0200
Message-ID<IS7pL-4Jav-11@gated-at.bofh.it>
In reply to#270352
On 06/21/2024 09:59 PM, Max Nikulin wrote:
> On 21/06/2024 11:39, David Christensen wrote:
>> On 6/20/24 19:10, Max Nikulin wrote:
>>> On 20/06/2024 12:06, David Christensen wrote:
>>>> You can use the fdisk(8) command to list the partitions on a drive.
>>>
>>> lsblk --fs
>>>
>>> perhaps with "-o +SIZE" may be more convenient to get overview of 
>>> drives.
>>
>> The debian-11.9.0-amd64-netinst rescue shell does not include lsblk(8):
> 
> My bad, I missed that the topic is specific to installer rescue mode. I 
> usually boot a live image for rescue. It is more convenient: more tools 
> are available or can be temporary installed, a browser may be used to 
> search for failure details. A possible downside is enabling of found 
> swap partitions and automounting of removable drives.
> 
> 

Thank you for reminding me of live images just now. Perfect timing.
I have an i386 machine with some atypical constraints.
https://www.debian.org/CD/live/ states only amd64 images are currently 
available.

Questions:
   1. What is latest i386 live image available in some archive?
   2. I have a working machine that will take a current full install
      of an i386 system. Can an average user create his own i386 live
      install image?

[toc] | [prev] | [next] | [standalone]


#270366

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2024-06-22 14:40 +0200
Message-ID<IS8c9-4JGs-5@gated-at.bofh.it>
In reply to#270365
Hi,

Richard Owlett wrote:
> 1. What is latest i386 live image available in some archive?

I guess:
  https://cdimage.debian.org/mirror/cdimage/archive/11.9.0-live/i386/iso-hybrid/
At least the pages for archived Live ISOs for Debian 12 list no i386
any more:
  https://cdimage.debian.org/mirror/cdimage/archive/12.1.0-live/


>  2. I have a working machine that will take a current full install
>     of an i386 system. Can an average user create his own i386 live
>     install image?

Well, there is the manual
  https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html
The section "4.2 First steps: building an ISO hybrid image" looks like
you could get a quick ride.
  https://live-team.pages.debian.net/live-manual/html/live-manual/the-basics.en.html#170
  "execute the following sequence of live-build commands to create a basic
   ISO hybrid image containing a default live system without X.org."

If it doesn't work, then debian-live@lists.debian.org would be the list
to ask for help.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#270367

FromRichard Owlett <rowlett@access.net>
Date2024-06-22 15:40 +0200
Message-ID<IS98d-4Kg7-1@gated-at.bofh.it>
In reply to#270366
On 06/22/2024 07:39 AM, Thomas Schmitt wrote:
> Hi,
> 
> Richard Owlett wrote:
>> 1. What is latest i386 live image available in some archive?
> 
> I guess:
>    https://cdimage.debian.org/mirror/cdimage/archive/11.9.0-live/i386/iso-hybrid/

That solves a plethora of problems! Thank you.

> At least the pages for archived Live ISOs for Debian 12 list no i386
> any more:
>    https://cdimage.debian.org/mirror/cdimage/archive/12.1.0-live/
> 
> 
>>   2. I have a working machine that will take a current full install
>>      of an i386 system. Can an average user create his own i386 live
>>      install image?
> 
> Well, there is the manual
>    https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html

Reviewing table of contents indicate that sections 8, 9, and 10 have 
answers to questions I didn't know _how_ to ask ;}

> The section "4.2 First steps: building an ISO hybrid image" looks like
> you could get a quick ride.
>    https://live-team.pages.debian.net/live-manual/html/live-manual/the-basics.en.html#170

Looks doable.
At least I'll learn enough to ask answerable questions.

>    "execute the following sequence of live-build commands to create a basic
>     ISO hybrid image containing a default live system without X.org."
> 
> If it doesn't work, then debian-live@lists.debian.org would be the list
> to ask for help.
> 
> 
> Have a nice day :)

With your reading list it should be educational. Thanks again.

> 
> Thomas
> 
> 

[toc] | [prev] | [next] | [standalone]


#270368

FromAndy Smith <andy@strugglers.net>
Date2024-06-22 16:00 +0200
Message-ID<IS9rz-4Kn1-5@gated-at.bofh.it>
In reply to#270365
Hi,

On Sat, Jun 22, 2024 at 06:43:04AM -0500, Richard Owlett wrote:
> Questions:
>   1. What is latest i386 live image available in some archive?
>   2. I have a working machine that will take a current full install
>      of an i386 system. Can an average user create his own i386 live
>      install image?

Before you spend too much time on this, do be aware that Debian is
dropping i686 as an install architecture. There won't be installers
for i686 in future releases of Debian. You will only be able to run
i686 packages as a foreign arch on a machine booted with an amd64
kernel (or via virtualisation methods).

Building your own live images for amd64 and other supported
architectures is still pretty easy though.

Thanks,
Andy

> 

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#270383

FromRichard Owlett <rowlett@access.net>
Date2024-06-22 19:40 +0200
Message-ID<IScSt-4Mz4-1@gated-at.bofh.it>
In reply to#270368
On 06/22/2024 08:55 AM, Andy Smith wrote:
> Hi,
> 
> On Sat, Jun 22, 2024 at 06:43:04AM -0500, Richard Owlett wrote:
>> Questions:
>>    1. What is latest i386 live image available in some archive?
>>    2. I have a working machine that will take a current full install
>>       of an i386 system. Can an average user create his own i386 live
>>       install image?
> 
> Before you spend too much time on this, do be aware that Debian is
> dropping i686 as an install architecture. There won't be installers
> for i686 in future releases of Debian. You will only be able to run
> i686 packages as a foreign arch on a machine booted with an amd64
> kernel (or via virtualisation methods).
> 
> Building your own live images for amd64 and other supported
> architectures is still pretty easy though.
> 
> Thanks,
> Andy
>

*ROFL*
When I was an E.E. undergrad CPUs had 12AX7s and I/O devices included 
026 and KSR35. Analog hardware was more interesting than new-fangled 
digital stuff [have one of my father's CK722's around somewhere].

I ask about i386 Debian Live because I have a fine operational Sony 
laptop that currently runs Debian 9.0 and has a $20 price tag on its bottom.

This machine has option to boot Debian 11 with an AMD64 kernel.
I routinely run Debian 9.13 because its configuration is comfortable 
(i.e. useful).

I have 2 other laptops which will have something >= Debian 12 before I 
abandon this machine.

Will I outlive Debian 11/12?
[My parents married day before Pearl Harbor ;]

[toc] | [prev] | [next] | [standalone]


#270387

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-06-22 22:20 +0200
Message-ID<ISfnj-4OdL-3@gated-at.bofh.it>
In reply to#270383
On 6/22/24 10:37, Richard Owlett wrote:
> I ask about i386 Debian Live because I have a fine operational Sony 
> laptop that currently runs Debian 9.0 and has a $20 price tag on its 
> bottom.
> 
> This machine has option to boot Debian 11 with an AMD64 kernel.
> I routinely run Debian 9.13 because its configuration is comfortable 
> (i.e. useful).
> 
> I have 2 other laptops which will have something >= Debian 12 before I 
> abandon this machine.


On 6/22/24 10:49, Richard Owlett wrote:
 > On 06/22/2024 12:13 PM, Stefan Monnier wrote:
 >> On 6/22/24 09:57, David Christensen wrote:
 >>> Rather than creating a customized Debian Live image, I install
 >>> Debian onto a USB flash drive or onto a 2.5" SATA SSD connected via
 >>> a USB-SATA adapter cable:
 >>
 >> +1
 >>
 >> It's pretty easy to make a simple Debian install on some old USB key
 >> you have lying around and it comes really handy.
 >
 > Relevant laptop is so old I don't know if it can boot from a physical
 > USB device. I was suspecting that simplest thing would be copying
 > suitable image to hard drive and let GRUB earn its keep ;}


So, the Sony laptop has Debian 9.13 i386 installed on the HDD/SSD?


Debian 9 LTS support ended on 01 Jul 2022:

https://endoflife.date/debian


If the Sony laptop can boot Debian 11 amd64 via CD, it should be able to 
boot an amd64 OS via USB.  I suggest copying 
debian-12.5.0-amd64-netinst.iso to a USB flash drive and trying to boot 
it.  If it works, you can decide if you want to use d-i, if you want to 
burn a live distribution to a USB device, and/or if you want to install 
Debian onto a USB device.


David

[toc] | [prev] | [next] | [standalone]


#270390

FromAndy Smith <andy@strugglers.net>
Date2024-06-23 00:40 +0200
Message-ID<IShyO-4Py4-7@gated-at.bofh.it>
In reply to#270383
Hi,

On Sat, Jun 22, 2024 at 12:37:29PM -0500, Richard Owlett wrote:
> Will I outlive Debian 11/12?

Well we're only talking a small single digit number of years here,
so I hope you have reason to be optimistic.

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting

[toc] | [prev] | [next] | [standalone]


#270404

From"Andrew M.A. Cater" <amacater@einval.com>
Date2024-06-23 11:50 +0200
Message-ID<ISs1b-4Wuy-3@gated-at.bofh.it>
In reply to#270390
On Sat, Jun 22, 2024 at 10:38:29PM +0000, Andy Smith wrote:
> Hi,
> 
> On Sat, Jun 22, 2024 at 12:37:29PM -0500, Richard Owlett wrote:
> > Will I outlive Debian 11/12?
> 
> Well we're only talking a small single digit number of years here,
> so I hope you have reason to be optimistic.
> 

A colleague who is 14 years older than me was discussing this.
Apparently your odds of surviving another year are > 50% until the
age of 94 or so whereupon they start to go down fairly drastically :)

All best

Andy
(amacater@debian.org)
> Thanks,
> Andy
> 
> -- 
> https://bitfolk.com/ -- No-nonsense VPS hosting
> 

[toc] | [prev] | [next] | [standalone]


#270381

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2024-06-22 19:00 +0200
Message-ID<IScfL-4M6t-1@gated-at.bofh.it>
In reply to#270365
On 6/22/24 04:43, Richard Owlett wrote:
> Thank you for reminding me of live images just now. Perfect timing.
> I have an i386 machine with some atypical constraints.
> https://www.debian.org/CD/live/ states only amd64 images are currently 
> available.
> 
> Questions:
>    1. What is latest i386 live image available in some archive?
>    2. I have a working machine that will take a current full install
>       of an i386 system. Can an average user create his own i386 live
>       install image?


Rather than creating a customized Debian Live image, I install Debian 
onto a USB flash drive or onto a 2.5" SATA SSD connected via a USB-SATA 
adapter cable:

https://www.startech.com/en-us/hdd/usb3s2sat3cb


Installing Debian onto a USB device allows me to choose the tasks I want 
at install time and then to add, remove, update, upgrade, etc., the 
packages I want later.  I load the USB Debian instances with all of my 
favorite Unix/ Linux/ Debian trouble-shooting tools, plus my own scripts.


My Debian 11 amd64 BIOS/MBR USB instance works on all of my amd64 
BIOS/MBR computers and works on most of my EUFI/GPT computers when set 
to BIOS/MBR mode.


My Debian 11 am64 UEFI/GPT USB instance was created on a Windows 10 era 
machine with UEFI/GPT and only works on similar machines with similar 
settings.


David

[toc] | [prev] | [next] | [standalone]


#270382

FromStefan Monnier <monnier@iro.umontreal.ca>
Date2024-06-22 19:20 +0200
Message-ID<IScz8-4MsU-7@gated-at.bofh.it>
In reply to#270381
> Rather than creating a customized Debian Live image, I install Debian onto
> a USB flash drive or onto a 2.5" SATA SSD connected via a USB-SATA adapter
> cable:

+1

It's pretty easy to make a simple Debian install on some old USB key you
have lying around and it comes really handy.


        Stefan

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | linux.debian.user


csiph-web