Re: Installing Debian from a hard disk with Windows to a USB stick

2021-05-08 Thread Andrei POPESCU
On Lu, 05 apr 21, 17:03:46, Andrei POPESCU wrote:
> 
> Hint: the mini.iso does support installing to the same storage device 
> used to start the installer. It also needs internet access for basically 
> everything, so you might need a way to pass firmware to the installer in 
> case the firmware can't be on the same device.

To follow-up on this, the mini.iso also creates a partition labeled 
"Firmware" on the device. As one might guess, it can be used to store 
firmware to be used by the installer.

In case the GPT partition table created by the mini.iso is kept[1] it 
will have a funny ISO signature that fdisk will offer to delete (at 
least in bullseye).

[1] It didn't occur to me at first that I can delete the entire 
partition table if I select the device at the installer's manual 
partitioning stage. It's faster than deleting partitions one by one ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-29 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 15:11, Brian () escribió:
>
> "Umm, well" is hardly an adequate reponse to Andrei POPESCU's
> suggestion. If you are waiting for someone like me to step up,
> you will be waiting a long time.
>
> Users employ the wiki to write what they feel comfortable about,
> not to act as a proxy for someone else's thoughts and writing.

Yes sir, you're right.  I'm sorry, I was not clear when I wrote
my message.  I do plan to repost it by myself at the wiki,
but it won't be in the near future.  I just wanted to see if someone
else could get it there sooner than me, so I would benefit more
people right now.

I won't be waiting for someone else, it is just that I can't do it
for now.  But thanks for your advice.

Have a nice day everyone.

PS: I forgot to send this message to the list.
-- 
Time zone: GMT-4



Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Brian
On Tue 27 Apr 2021 at 11:55:52 -0400, Cmdte Alpha Tigre Z wrote:

> El mar, 27 abr 2021 a las 2:43, Andrei POPESCU
> () escribió:
> > On Lu, 26 apr 21, 20:34:58, Cmdte Alpha Tigre Z wrote:
> > > It would be great if someone could repost this tutorial at the Debian
> > > Wiki.
> >
> > Feel free to do so yourself.
> 
> Umm, well.  That will have to wait.

"Umm, well" is hardly an adequate reponse to Andrei POPESCU's
suggestion. If you are waiting for someone like me to step up,
you will be waiting a long time.

Users employ the wiki to write what they feel comfortable about,
not to act as a proxy for someone else's thoughts and writing.

> If someone else can repost it under some of the installation
> sections of the Wiki, I could give any necessary additional license
> to complete the repost after knowing, of course, which license does
> that need.  If done, please include a little reference to the tutorial
> at https://wiki.debian.org/DebianInstaller/Loader , if you can,
> of course.

Your effort. Your creative activity. Your wiki. Your decision.

-- 
Brian.



Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 2:43, Andrei POPESCU
() escribió:
> On Lu, 26 apr 21, 20:34:58, Cmdte Alpha Tigre Z wrote:
> > It would be great if someone could repost this tutorial at the Debian
> > Wiki.
>
> Feel free to do so yourself.

Umm, well.  That will have to wait.
If someone else can repost it under some of the installation
sections of the Wiki, I could give any necessary additional license
to complete the repost after knowing, of course, which license does
that need.  If done, please include a little reference to the tutorial
at https://wiki.debian.org/DebianInstaller/Loader , if you can,
of course.

Thanks.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 11:44,  escribió:
> On Tue, Apr 27, 2021 at 11:41:16AM -0400, Cmdte Alpha Tigre Z wrote:
> [...]
> > > A civilised mail user agent will show MIME part boundaries [...]
>
> > Thanks.  I'm not worrying anymore for the mail messages,
> > but the problem is the Debian Lists archive's web interface
> > that doesn't work as a civilised mail user agent.
>
> ...which is a pity ;-/
>
> But back to topic, thanks for your nice HOWTO :)
>
> Cheers
>  - t

He he, thank you.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread tomas
On Tue, Apr 27, 2021 at 11:41:16AM -0400, Cmdte Alpha Tigre Z wrote:

[...]

> > A civilised mail user agent will show MIME part boundaries [...]

> Thanks.  I'm not worrying anymore for the mail messages,
> but the problem is the Debian Lists archive's web interface
> that doesn't work as a civilised mail user agent.

...which is a pity ;-/

But back to topic, thanks for your nice HOWTO :)

Cheers
 - t


signature.asc
Description: Digital signature


Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 11:24,  escribió:
> On Tue, Apr 27, 2021 at 11:16:44AM -0400, Cmdte Alpha Tigre Z wrote:
>
> [...]
>
> > On the other hand, as Mr. Davidson said, it is not very clear
> > where do one file starts and where do it ends [...]
>
> A civilised mail user agent will show MIME part boundaries in
> a suitable way. I think you don't need to worry too much about
> uncivilised MUAs. It's people's choice, after all :-)
>
> Cheers
>  - t

Thanks.  I'm not worrying anymore for the mail messages,
but the problem is the Debian Lists archive's web interface
that doesn't work as a civilised mail user agent.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 10:35, David Wright
() escribió:
>
> On Mon 26 Apr 2021 at 22:16:34 (-0400), Cmdte Alpha Tigre Z wrote:
> >
> > I saw at the Debian Lists' archive
> > that my attached files were not
> > shown as attached (as in the
> > BTS archive), but instead as inserted
> > into the body of the message.
> >
> > Is there some other way to attach
> > the files correctly?
> > Would it work and could I send the
> > attachments with HTML?
>
> You might attach the shell script as application/x-sh rather
> than text/x-sh¹. That should encode it, and display it as an
> attachment on the web, as with:
>
> https://lists.debian.org/debian-user/2021/03/msg01494.html
>
> making it easier to download. And mutt, for example, would
> display it via the attachment menu, ready for downloading.
>
> AIUI, the policy is to immediately display text/… attachments,
> though mutt demarcates them better than firefox does. I suppose
> one could always wrap the text file into a trivial shell script.
> However, before doing this as a general policy, it's worth
> checking that websites you expect to be archiving/forwarding
> your posts are not stripping attachments. (Some do.)
>
> ¹ I have no idea how different MUAs, and posting sites like
>   gmail, would force this. Mutt does it as a matter of course,
>   and that can be checked before sending, by first postponing
>   the message, and then searching the contents of the Postponed
>   mailbox for "Content-Type: application/x-sh".
>
> Cheers,
> David.

Thank you a lot, sir!

Could you repost my attachments as replies to my tutorial
that way, please?  For now, I have no way of changing
the content type for attachments.  If you do so, please
include also a short note in the body of your message
like "Here are the attachments referred to in the tutorial."

Thanks in advance.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 7:40, davidson () escribió:
> On Tue, 27 Apr 2021 davidson wrote:
> > On Mon, 26 Apr 2021 Cmdte Alpha Tigre Z wrote:
> >> Is there some other way to attach the files correctly?
> >
> > I don't know of any way to get the debian-user list's web archive to
> > treat attached files the way you want.
> >
> > In the past on this list, I have occassionally sent the content of
> > such plain-text attachments in the body of replies to my original
> > message, usually with a brief explanatory introduction. Something
> > like, "The rest of this message body consists of the script referred
> > to in my tutorial at
> > camgm-vv655qmbj73oogbde6oog0ex-mn-vs2hhosehh1syq...@mail.gmail.com ")
>
> That last bit would be more helpful like so:
>
> https://lists.debian.org/msgid-search/camgm-vv655qmbj73oogbde6oog0ex-mn-vs2hhosehh1syq...@mail.gmail.com

Thanks, I could consider doing so in order to organize better
the tutorial displayed at the archive.  I will see what other options
do I have.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread tomas
On Tue, Apr 27, 2021 at 11:16:44AM -0400, Cmdte Alpha Tigre Z wrote:

[...]

> On the other hand, as Mr. Davidson said, it is not very clear
> where do one file starts and where do it ends [...]

A civilised mail user agent will show MIME part boundaries in
a suitable way. I think you don't need to worry too much about
uncivilised MUAs. It's people's choice, after all :-)

Cheers
 - t


signature.asc
Description: Digital signature


Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 7:33, davidson () escribió:
> On Mon, 26 Apr 2021 Cmdte Alpha Tigre Z wrote:
> > Hi.
> >
> > I saw at the Debian Lists' archive that my attached files were not
> > shown as attached (as in the BTS archive), but instead as inserted
> > into the body of the message.
>
> I have not examined your how-to in detail, but from brief examination
> I am impressed by its organised format. It is clear to me that you put
> substantial effort into that aspect, and that anyone who uses it will
> be grateful for that.
>
> I imagine it is disappointing to see some of that meticulous structure
> stripped away unexpectedly, no matter how minor the difference.

Thanks.

Yes, it is indeed a little disappointing to see my tutorial screwed up.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Cmdte Alpha Tigre Z
El mar, 27 abr 2021 a las 2:45, Andrei POPESCU
() escribió:
> On Lu, 26 apr 21, 22:16:34, Cmdte Alpha Tigre Z wrote:
> > Hi.
> >
> > I saw at the Debian Lists' archive
> > that my attached files were not
> > shown as attached (as in the
> > BTS archive), but instead as inserted
> > into the body of the message.
>
> This is just how the archive software shows them, they arrived as
> separate attachments here.

Ok, thanks for that.

> > Is there some other way to attach
> > the files correctly?
> > Would it work and could I send the
> > attachments with HTML?
>
> What problem are you trying to solve?

Well, I intentionally wrote the script with Unix-style LF line endings.
I don't know if "ash" from Busybox will complain or do something
weird if it finds CR LF line endings instead.  I just wanted to avoid
troubles.

On the other hand, as Mr. Davidson said, it is not very clear
where do one file starts and where do it ends.  In the tutorial,
I refer to them as attached files; but people reading the tutorial
through the archive won't see any "attached file".  If I knew this would
happen, I would rather have put some ---HEADERS--- and
---FOOTERS--- to the files.  It is good to know that they were
correctly sent through email.

-- 
Time zone: GMT-4



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread David Wright
On Mon 26 Apr 2021 at 22:16:34 (-0400), Cmdte Alpha Tigre Z wrote:
> 
> I saw at the Debian Lists' archive
> that my attached files were not
> shown as attached (as in the
> BTS archive), but instead as inserted
> into the body of the message.
> 
> Is there some other way to attach
> the files correctly?
> Would it work and could I send the
> attachments with HTML?

You might attach the shell script as application/x-sh rather
than text/x-sh¹. That should encode it, and display it as an
attachment on the web, as with:

https://lists.debian.org/debian-user/2021/03/msg01494.html

making it easier to download. And mutt, for example, would
display it via the attachment menu, ready for downloading.

AIUI, the policy is to immediately display text/… attachments,
though mutt demarcates them better than firefox does. I suppose
one could always wrap the text file into a trivial shell script.
However, before doing this as a general policy, it's worth
checking that websites you expect to be archiving/forwarding
your posts are not stripping attachments. (Some do.)

¹ I have no idea how different MUAs, and posting sites like
  gmail, would force this. Mutt does it as a matter of course,
  and that can be checked before sending, by first postponing
  the message, and then searching the contents of the Postponed
  mailbox for "Content-Type: application/x-sh".

Cheers,
David.



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread deloptes
Cmdte Alpha Tigre Z wrote:

> Is there some other way to attach
> the files correctly?
> Would it work and could I send the
> attachments with HTML?

How it works is just perfect - you do not have to care about it.
I like it this way and obviously many many others.
In your mail it would show up as attached file - don't worry 



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread davidson

On Tue, 27 Apr 2021 davidson wrote:

On Mon, 26 Apr 2021 Cmdte Alpha Tigre Z wrote:

Hi.

I saw at the Debian Lists' archive that my attached files were not
shown as attached (as in the BTS archive), but instead as inserted
into the body of the message.

[dd]

Is there some other way to attach the files correctly?


I don't know of any way to get the debian-user list's web archive to
treat attached files the way you want.

In the past on this list, I have occassionally sent the content of
such plain-text attachments in the body of replies to my original
message, usually with a brief explanatory introduction. Something
like, "The rest of this message body consists of the script referred
to in my tutorial at
camgm-vv655qmbj73oogbde6oog0ex-mn-vs2hhosehh1syq...@mail.gmail.com ")


That last bit would be more helpful like so:

https://lists.debian.org/msgid-search/camgm-vv655qmbj73oogbde6oog0ex-mn-vs2hhosehh1syq...@mail.gmail.com

--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread davidson

On Mon, 26 Apr 2021 Cmdte Alpha Tigre Z wrote:

Hi.

I saw at the Debian Lists' archive that my attached files were not
shown as attached (as in the BTS archive), but instead as inserted
into the body of the message.


I have not examined your how-to in detail, but from brief examination
I am impressed by its organised format. It is clear to me that you put
substantial effort into that aspect, and that anyone who uses it will
be grateful for that.

I imagine it is disappointing to see some of that meticulous structure
stripped away unexpectedly, no matter how minor the difference.


Is there some other way to attach the files correctly?


I don't know of any way to get the debian-user list's web archive to
treat attached files the way you want.

In the past on this list, I have occassionally sent the content of
such plain-text attachments in the body of replies to my original
message, usually with a brief explanatory introduction. Something
like, "The rest of this message body consists of the script referred
to in my tutorial at
camgm-vv655qmbj73oogbde6oog0ex-mn-vs2hhosehh1syq...@mail.gmail.com ")


Would it work and could I send the attachments with HTML?


Like I said, I don't know.  But I too am curious how the listserve
archive treats html attachments.

--
Ce qui est important est rarement urgent
et ce qui est urgent est rarement important
-- Dwight David Eisenhower



Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Andrei POPESCU
On Lu, 26 apr 21, 22:16:34, Cmdte Alpha Tigre Z wrote:
> Hi.
> 
> I saw at the Debian Lists' archive
> that my attached files were not
> shown as attached (as in the
> BTS archive), but instead as inserted
> into the body of the message.

This is just how the archive software shows them, they arrived as 
separate attachments here.
 
> Is there some other way to attach
> the files correctly?
> Would it work and could I send the
> attachments with HTML?

What problem are you trying to solve?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-27 Thread Andrei POPESCU
On Lu, 26 apr 21, 20:34:58, Cmdte Alpha Tigre Z wrote:
> 
> It would be great if someone could repost this tutorial at the Debian 
> Wiki.

Feel free to do so yourself.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: [SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-26 Thread Cmdte Alpha Tigre Z
Hi.

I saw at the Debian Lists' archive
that my attached files were not
shown as attached (as in the
BTS archive), but instead as inserted
into the body of the message.

Is there some other way to attach
the files correctly?
Would it work and could I send the
attachments with HTML?

Well, thanks in advance.



[SOLVED] Installing Debian from a hard disk with Windows to a USB stick

2021-04-26 Thread Cmdte Alpha Tigre Z
On the 25th of March of 2021, I wrote a message asking for help
to install Debian 10.8 (now 10.9) on a USB stick, booting the Debian-installer
from Windows 7's Boot Manager and having the ISO only on the hard disk drive
with only the Windows' partition and its filesystem.

Many thanks in advance to the great Debian developers that have put so much
functionality on the Debian-installer and related stuff.

Here is what I did to reach my goal:

Copyright (c) 2021 Santiago Pinto
Licensed under the Creative Commons Attribution-ShareAlike 4.0
International Public License
(https://creativecommons.org/licenses/by-sa/4.0/legalcode).
This tutorial comes with "ABSOLUTELY NO WARRANTY".
Tutorial version 1.0

0. TABLE OF CONTENTS

1. PREINSTALLATION.
1.1. Downloading required files.
1.2. Arranging files for preinstallation.
1.3. Modification of configuration file, "win32-loader.ini".
1.4. Starting preinstallation program.
1.5. Preparing the USB stick.
2. INSTALLATION.
2.1. Preparing for the special installation procedure.
2.2. Special installation procedure.
3. SUMMARY.
3.1. Preinstallation.
3.2. Installation.
4. FINAL CONSIDERATIONS.
5. FOOTNOTES.

1. PREINSTALLATION

As with any Debian installation, it is recommended to have the installation
manual at hand, just in case...  Please, read at least every step completely
before doing it.  I use quotes to give clarity to the tutorial, do not include
them when I ask you to write something unless I specifically say to
include them.

1.1. Downloading required files.

1.1.1. Download the first ISO DVD image for Debian.  You can do it by
any medium:
http, bittorrent, jigdo, etc.

1.1.2. From the directory at
http:///debian/dists/buster/main/installer-/current/images/hd-media/
download the files "initrd.gz" and "vmlinuz" there if you would like to install
using the text interface or those inside the directory "gtk" if you would rather
prefer the graphical interface.   is any debian mirror you want
to use like ftp.debian.org and  is the processor architecture's
corresponding suffix (i386, amd64, etc.) which must be the same as the ISO image
you downloaded previously.  Please take into account that if you want to do
the installation in normal mode and not expert mode, you can only choose to use
the graphical interface.

1.1.3. From the directory at http:///debian/pool/main/p/pcre3/
download the file "libpcre3-udeb_8.39-12_i386.udeb".

1.1.4. If you don't already have 7-Zip, find it here https://www.7-zip.org/
and install it. (The installation procedure for 7-Zip is not covered
in this tutorial)

1.2. Arranging files for preinstallation.

1.2.1. Make a temporary folder to store some files for preinstallation.
It is better to make it at the root of C:.  I will assume it is "C:\tmpx\".

1.2.2. Optionally, if you want to be sure that no important installation file
gets accidentally modified, you can make the ISO image, "initrd.gz"
and "vmlinuz"
to be read-only files.  This can be done in the files' properties window or
in cmd.exe with the command attrib.

1.2.3. Move the ISO image to "C:\".

1.2.4. Move "initrd.gz" and "vmlinuz" to "C:\tmpx\".

1.2.5. Open the ISO image with 7-Zip and extract "g2ldr" and "g2ldr.mbr"
from there to "C:\tmpx\".

1.2.6. With the ISO still open, extract "setup.exe" and "win32-loader.ini"
to "C:\".

1.3. Modification of configuration file, "win32-loader.ini".

1.3.1. Open "win32-loader.ini" with Notepad and, if you downloaded the files
for the text installer, delete the two lines that contain the text "gtk",
but if you downloaded the others for the graphical installer, then delete
the two lines above that contain nearly the same text except "gtk".

1.3.2. At the other two lines that you did not deleted, replace the text
from just after the equal sign to just before the last slash
with the name of the temporary folder you made previously, here "tmpx".

1.3.3. At the last two lines, after [grub], add just after the equal sign
"tmpx/".

1.3.4. Double check that you did these three previous steps right.
You should write the name of the temporary folder you made instead of "tmpx"
if you gave it another name.  Do not include the double quotes into the file,
I write them only here for clarity.

1.3.5. Save the file, "win32-loader.ini".

1.4. Starting preinstallation program.

1.4.1. Run "setup.exe" from "C:\".  Follow the instructions there.
If it tells you that you should use a 64-bits version but you are sure
that you need the 32-bits one, then just click on "No", else you should use
the installer and ISO image for that architecture.  I tried the installation
in expert mode but normal might work fine too.  If this preinstallation fails,
retry one more time.

1.5. Preparing the USB stick.

1.5.1. You should backup now anything you don't want to lose from the USB stick.

1.5.2. Make a temporary folder in your hard disk to put some files there.

1.5.3. Open the DVD ISO 

Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-26 Thread Cmdte Alpha Tigre Z
El jue, 25 mar 2021 a las 21:11, Cmdte Alpha Tigre Z
() escribió:
> (...lots of things...)

Hi.

I'm going to post a tutorial to do what I did to achieve the
installation of Debian
in the USB stick from Windows' NTFS-formatted partition.

Please, review it and give your opinions/suggestions/fixes.
It would be great if someone could repost this tutorial at the Debian Wiki.

-- 
Time zone: GMT-4



Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-09 Thread Cmdte Alpha Tigre Z
El vie, 9 abr 2021 a las 17:43, Cmdte Alpha Tigre Z
() escribió:
>
> El lun, 5 abr 2021 a las 10:04, Andrei POPESCU
> () escribió:
> > Hint: the mini.iso does support installing to the same storage device
> > used to start the installer. It also needs internet access for basically
> > everything, so you might need a way to pass firmware to the installer in
> > case the firmware can't be on the same device.
>
> Hi.
>
> I'm sorry Mr. Popescu, I didn't read this mailing list for days.
> Thanks for your help, I have found how to do this and I'll be
> posting here my findings.  Perhaps someone else can pass
> that post to the Wiki, I don't know how to use that.
>
> --
> Time zone: GMT-4

I forgot to send this message to this list.  Sorry.



Re: Installing Debian from a hard disk with Windows to a USB stick

2021-04-05 Thread Andrei POPESCU
On Jo, 25 mar 21, 21:11:33, Cmdte Alpha Tigre Z wrote:
> 
> I'm trying to install Debian 10.8 on a USB stick, and it is not Debian Live,
> from a hard disk that has Windows 7 installed.  Since I don't have
> any CD or DVD, and I need the USB stick to install Debian on it,
> I can't use the USB stick to put the ISO image on it.

Why not?

Hint: the mini.iso does support installing to the same storage device 
used to start the installer. It also needs internet access for basically 
everything, so you might need a way to pass firmware to the installer in 
case the firmware can't be on the same device.

Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Installing Debian from a hard disk with Windows to a USB stick

2021-03-28 Thread Cmdte Alpha Tigre Z
El jue, 25 mar 2021 a las 21:11, Cmdte Alpha Tigre Z
() escribió:

> I'm trying to install Debian 10.8 on a USB stick, and it is not Debian Live,
> from a hard disk that has Windows 7 installed.  Since I don't have
> any CD or DVD, and I need the USB stick to install Debian on it,
> I can't use the USB stick to put the ISO image on it.
>
> I have downloaded the first ISO DVD image, hd-media/vmlinuz and
> hd-media/initrd.gz.  As I understand, the standalone win32-loader
> downloads its own Debian image, so I supposed I needed the setup.exe
> from the ISO image.  I put debian-10.8.0-i386-DVD-1.iso, g2ldr, g2ldr.mbr
> (these two from the ISO), initrd.gz, setup.exe, vmlinuz and win32-loader.ini
> on the root of C:
> (...)

Hi.

I tried to run setup.exe and it stored all the files necessary for booting
inside a directory at C:
Apparently, it does that for any files you use with it.  The only files it puts
on the root are g2ldr and g2ldr.mbr.  The files were almost successfully copied.

I suppose that win32-loader does its job for any files you give it.
The only problems are these two:

setup.exe could not copy g2ldr and g2ldr.mbr to C: because they
already were in C:
so it "failed".  I will try to put the files on another folder to see
if setup.exe does
the same as before but without failing.

The other problem is, even that grub2 should load and then load linux and the
ram disk and everything should go fine from there, I don't know
if the debian-installer from hd-media searches the ISO at the root directory
or at the same directory where linux and the ram disk are located.

The documentation says to put linux, the ram disk and the ISO at the root,
but since setup.exe puts the first two in some directory and
configures everything
to run from there, I don't know if I should leave the ISO at the root or instead
move it to where linux and the ram disk are.

Any help?

Thanks in advance.

-- 
Time zone: GMT-4



Installing Debian from a hard disk with Windows to a USB stick

2021-03-25 Thread Cmdte Alpha Tigre Z
Hi.

I'm trying to install Debian 10.8 on a USB stick, and it is not Debian Live,
from a hard disk that has Windows 7 installed.  Since I don't have
any CD or DVD, and I need the USB stick to install Debian on it,
I can't use the USB stick to put the ISO image on it.

I have downloaded the first ISO DVD image, hd-media/vmlinuz and
hd-media/initrd.gz.  As I understand, the standalone win32-loader
downloads its own Debian image, so I supposed I needed the setup.exe
from the ISO image.  I put debian-10.8.0-i386-DVD-1.iso, g2ldr, g2ldr.mbr
(these two from the ISO), initrd.gz, setup.exe, vmlinuz and win32-loader.ini
on the root of C:

I modified win32-loader.ini from:
[installer]
kernel=linux
arch=i386
i386/linux=install.386/vmlinuz
i386/initrd=install.386/initrd.gz
i386/gtk/linux=install.386/vmlinuz
i386/gtk/initrd=install.386/gtk/initrd.gz

[grub]
g2ldr=g2ldr
g2ldr.mbr=g2ldr.mbr

to:
[installer]
kernel=linux
arch=i386
i386/linux=vmlinuz
i386/initrd=initrd.gz

[grub]
g2ldr=g2ldr
g2ldr.mbr=g2ldr.mbr

The problem is that I don't know if modifying win32-loader.ini that way
I can make debian-installer boot from the files on C: instead from a CD or
a DVD or an USB stick; nor I know if GRUB2 will load successfully itself
and linux and the RAM disk.

Please, could you help me?

Thanks in advance.