Re: Having trouble installing Debian on brand new hard drive

2020-02-13 Thread Andrei POPESCU
On Mi, 12 feb 20, 09:08:26, Greg Wooledge wrote:
> On Wed, Feb 12, 2020 at 03:01:52PM +0100, Klaus Singvogel wrote:
> > kaye n wrote:
> > > *For the future, you could paste the (relevant part from) the output of
> > > 'parted -l'.*
> > > Just curious, never encountered that command before.
> > > kaye@laptop:~$ parted -l
> > > bash: parted: command not found
> > 
> > You can install it then: "sudo apt-get install parted"
> > But I prefer output of "lsblk"; but this is only a matter of taste.
> 
> lsblk  is nice because it doesn't seem to require root.
 
In particular 'lsblk -f', especially since output of 'mount' is 
cluttered with lots of other file systems that are not relevant when 
looking at storage.

> fdisk -l   is another choice (requires root, though).
> 
> fdisk was *the* go-to command a few decades back, but it was discouraged
> for a while because it was slow to adopt GPT support.  Current versions
> of fdisk support GPT disk partitioning, so it's back on the acceptable
> list.

The advantage of 'parted -l' vs. 'fdisk -l' (especially in this 
situation) is that it also shows if the partition has a file system and 
what type.

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


signature.asc
Description: PGP signature


Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread didier . gaumet
Le mercredi 12 février 2020 15:10:04 UTC+1, Felix Miata a écrit :
[...]
> If you present to it what it wants, it makes no partitioning changes. If you
> don't, it will divide up what you do give it, as long as what you do give it
> can meet its minimum requirement.
[...]

I am sure now that you are right, Felix :-)
(I seem to recall that in the past with a not-too-old Windows (7, 8?) that I 
had it running from a single NTFS partition but if it was really the case, I 
had probably erased the other Microsoft partitions under Linux when Windows was 
already installed.)



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread Greg Wooledge
On Wed, Feb 12, 2020 at 03:01:52PM +0100, Klaus Singvogel wrote:
> kaye n wrote:
> > *For the future, you could paste the (relevant part from) the output of
> > 'parted -l'.*
> > Just curious, never encountered that command before.
> > kaye@laptop:~$ parted -l
> > bash: parted: command not found
> 
> You can install it then: "sudo apt-get install parted"
> But I prefer output of "lsblk"; but this is only a matter of taste.

lsblk  is nice because it doesn't seem to require root.

fdisk -l   is another choice (requires root, though).

fdisk was *the* go-to command a few decades back, but it was discouraged
for a while because it was slow to adopt GPT support.  Current versions
of fdisk support GPT disk partitioning, so it's back on the acceptable
list.



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread Felix Miata
didier.gau...@gmail.com composed on 2020-02-12 01:57 (UTC-0800):

>> Windows will automatically create a partition out of the 50GB partition
>> that I made for it?

> I may be wrong, but I do not think the Microsoft Windows installer will do 
> so: it will probably try to create other partitions if there is enough 
> available space on your disk 

It does the same thing as the Mac OS installer. If you present to it what it
wants, it makes no partitioning changes. If you don't, it will divide up what 
you
do give it, as long as what you do give it can meet its minimum requirement. If
you leave it enough freespace without offering it its ESP/NTFS/reserved/recovery
requirement, it will then use the freespace as required to make up the 
difference.
If it can't be happy with whatever possibilities are presented, it will (IIRC)
give you a choice between wiping something out to make the space it wants
available, or aborting. Since two decades ago I have always pre-partitioned, 
given
it what it can be happy with, so my main chances to observe alternatives since
then have been in cleaning up messes others make.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread Klaus Singvogel
kaye n wrote:
> *The (U)EFI partition seems far to small, I think mine was about 200 MB
> originaly and I extended it to 700 MB, so I was able to make UEFI updates.
>
> *Are UEFI updates necessary? What's the smallest allowable size I can
> make for UEFI partition? Or is that not a wise thing to do?

UEFI updates are sometimes necessary. My notebook required one recently,
as there was the danger of breaking the USB-C port (the Thunderbolt
controller).

The golden rule is "never change a running system", but sometimes you have
to break it: no more (security) updates or danger of breaking of hardware.
New operating systems rely on features in the hardware and fail if not
present or wrong implemented.

> *PXE Boot is booting over network (TFTP) and not want you want.
> 
> *I honestly don't know how I got that because I was not trying to boot
> over network.  Never had this problem installing other distros.

Already answered by Felix Miata: fallback situation from failure in
booting the HDD (respective SSD).

> *Created how? Did you do it yourself prior to beginning installation of
> Debian?*
> I believe I created the GPT partition using GParted from a live USB of
> another distro.
> 
> *That's unusually small for a /home partition.*
> I just figured that the /home partition is where config files of apps are
> kept, correct? And they're just small files?  When I install an app, most
> of it goes into / , and not /home, therefore I usually make /home a
> separate partition and at 2GB only.

Config files are only a small subset of the stored files in your /home. 
Typically your saved e-mails, pictures, videos, documents and more are
stored there (and cache from your browser, but treaded as config files).

> *For the future, you could paste the (relevant part from) the output of
> 'parted -l'.*
> Just curious, never encountered that command before.
> kaye@laptop:~$ parted -l
> bash: parted: command not found

You can install it then: "sudo apt-get install parted"
But I prefer output of "lsblk"; but this is only a matter of taste.

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread didier . gaumet


Please use a correct quoting method: it is difficult to differenciate your 
discourse from others when when replying to you :-)

Le mercredi 12 février 2020 09:00:05 UTC+1, kaye n a écrit :
> Are UEFI updates necessary? What's the smallest allowable size I can make
> for UEFI partition? Or is that not a wise thing to do?

didier@hp-notebook14:~$ df
Sys. de fichiers   blocs de 1K   Utilisé Disponible Uti% Monté sur
[...]
/dev/nvme0n1p3   98304 32169  66135  33% /boot/efi

in my case, (Debian+Win10) already 33MB are used out of a 100MB ESP (EFI) 
partition

> I just figured that the /home partition is where config files of apps are
> kept, correct? And they're just small files?  When I install an app, most
> of it goes into / , and not /home, therefore I usually make /home a
> separate partition and at 2GB only.

/home is basically where personal files are stored by default, including 
personal configurations overriding global configurations (mostly stored in 
/etc). 
For example if you download big files (videos), depending on the software you 
use for that, by default these videos are stored somewhere in /home (maybe in 
Downloads ou Videos subdirectory). On a typical linux personal installation, 
/home is really bigger than /.

I surmise you intend to use the big NTFS partition you created before as a 
common (between Windows and Debian) personal data partition.
- I think in Debian that will be slower than using the /home partition (ntfs-3g 
is a FUSE solution)
- I think that possibly (probably?) you will have problems (authorizations) 
accessing the files created using Debian when you use Windows.

> Windows will automatically create a partition out of the 50GB partition
> that I made for it?

I may be wrong, but I do not think the Microsoft Windows installer will do so: 
it will probably try to create other partitions if there is enough available 
space on your disk 



Re: Having trouble installing Debian on brand new hard drive

2020-02-12 Thread Andrei POPESCU
On Mi, 12 feb 20, 15:53:37, kaye n wrote:
> 
> *For the future, you could paste the (relevant part from) the output of
> 'parted -l'.*
> Just curious, never encountered that command before.
> kaye@laptop:~$ parted -l
> bash: parted: command not found

It's in package 'parted' and must be run as root (with sudo or whatever 
else you are using). GParted is the GUI version.

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


signature.asc
Description: PGP signature


Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread kaye n
*The (U)EFI partition seems far to small, I think mine was about 200 MB
originaly and I extended it to 700 MB, so I was able to make UEFI updates.*Are
UEFI updates necessary? What's the smallest allowable size I can make for
UEFI partition? Or is that not a wise thing to do?


*PXE Boot is booting over network (TFTP) and not want you want.*
I honestly don't know how I got that because I was not trying to boot over
network.  Never had this problem installing other distros.

*Created how? Did you do it yourself prior to beginning installation of
Debian?*
I believe I created the GPT partition using GParted from a live USB of
another distro.

*That's unusually small for a /home partition.*
I just figured that the /home partition is where config files of apps are
kept, correct? And they're just small files?  When I install an app, most
of it goes into / , and not /home, therefore I usually make /home a
separate partition and at 2GB only.



*If you rarely use Windows, that may be a perfectly good size, but because
you haven't created a Windows Reserved partition, Windows will divide it in
order that it have one (16MB IIRC).*
Windows will automatically create a partition out of the 50GB partition
that I made for it?


*For the future, you could paste the (relevant part from) the output of
'parted -l'.*
Just curious, never encountered that command before.
kaye@laptop:~$ parted -l
bash: parted: command not found

Thank you for your time!


Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Andrei POPESCU
On Ma, 11 feb 20, 21:07:05, kaye n wrote:
> Thank you guys for telling me the email got lost.  I'll just describe it.
> 
> The partition table is GPT.
> 
> Imagine you're looking at the graphical presentation of my hdd in GParted.
> 
> Starting from the left:

For the future, you could paste the (relevant part from) the output of 
'parted -l'.

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


signature.asc
Description: PGP signature


Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Felix Miata
kaye n composed on 2020-02-11 21:07 (UTC+0800):

> The partition table is GPT.

Created how? Did you do it yourself prior to beginning installation of Debian?

> Imagine you're looking at the graphical presentation of my hdd in GParted.

> Starting from the left:

> 858GB NTFS partition (intended for storing all kinds of data)

> then

> 20GB ext4 partition, with mount point /

> then

> 2GB ext4 partition, with mount point /home

That's unusually small for a /home partition. If you're going to use the big 
NTFS
partition as your functional /home, you may be better off with /home just being 
a
subdirectory on / for the purpose of saving Linux-specific settings, but not 
your
personal data kept on the NTFS.

> then

> 1GB swap partition

> then

> 50GB NTFS partition (intended for windows)

If you rarely use Windows, that may be a perfectly good size, but because you
haven't created a Windows Reserved partition, Windows will divide it in order 
that
it have one (16MB IIRC).

> then, finally

> only 10MB FAT32 partition because debian installer says I need an efi but I
> don't know how big it should be.  Mount point at /boot/efi

Most likely the installer doesn't cope properly with this tiny size. Windows 
will
create one of size 100MB if it doesn't find one that already exists. With 16TB
drives that use 4k sectors both logically and physically, 260MB is the minimum.
Most Linux users seem to create one sized somewhere between 260MB and 500MB. 
Even
though formatted as FAT32, it's called ESP.

> If I boot from the hard drive, I ge this message:

> Realtek PCIe GBE Family Controller Series v2.43 (08/25/11)
> PXE-E61: Media test failure, check cable

> PXE-M0F: Exiting PXE ROM

> Reboot and Select proper Boot device
> or Insert Boot Media in selected Boot device and press a key

Because of boot configuration failure on your HDD, it's trying to fall back to 
PXE
(network) boot, which since you don't have an available PXE server, is also 
failing.

I can only guess that DI doesn't know how to cope with the tiny ESP partition, 
so
Grub installation either simply didn't occur at all, or is incomplete or 
otherwise
failed.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Klaus Singvogel
Thanks.

Two thoughts about your failures:

The (U)EFI partition seems far to small, I think mine was about 200 MB
originaly and I extended it to 700 MB, so I was able to make UEFI updates.

PXE Boot is booting over network (TFTP) and not want you want. You can
configure your boot device in the BIOS settings. If this is set correctly,
it's most likely a matter of the too small EFI partition.

Best regards,
Klaus.

kaye n wrote:
> Thank you guys for telling me the email got lost.  I'll just describe it.
> 
> The partition table is GPT.
> 
> Imagine you're looking at the graphical presentation of my hdd in GParted.
> 
> Starting from the left:
> 
> 858GB NTFS partition (intended for storing all kinds of data)
> 
> then
> 
> 20GB ext4 partition, with mount point /
> 
> then
> 
> 2GB ext4 partition, with mount point /home
> 
> then
> 
> 1GB swap partition
> 
> then
> 
> 50GB NTFS partition (intended for windows)
> 
> then, finally
> 
> only 10MB FAT32 partition because debian installer says I need an efi but I
> don't know how big it should be.  Mount point at /boot/efi
> 
> If I boot from the hard drive, I ge this message:
> 
> Realtek PCIe GBE Family Controller Series v2.43 (08/25/11)
> PXE-E61: Media test failure, check cable
> 
> PXE-M0F: Exiting PXE ROM
> 
> Reboot and Select proper Boot device
> or Insert Boot Media in selected Boot device and press a key
> 
> That's it. Thank you!
> 
> On Tue, Feb 11, 2020 at 6:13 PM Klaus Singvogel 
> wrote:
> 
> > Felix Miata wrote:
> > > kaye n composed on 2020-02-11 17:23 (UTC+0800):
> > >
> > > > No one?
> > >
> > > Your OP seems to have gotten lost in the ether. I don't see it on
> > > https://lists.debian.org/debian-user/2020/02/threads.html and don't
> > remember
> > > seeing it arrive among any other debian-user email. I do see there
> > another
> > > original post from you about Grub.
> >
> > I, for myself, ignore jpg messages.
> >
> > I'm living in an textbased world. Extracting and viewing pictures from
> > email is a big effort for me. They can't be cited nor referenced easily
> > neither.
> >
> > Beside the fact that your posting was never seen here (see above).
> >
> > Regards,
> > Klaus.
> > --
> > Klaus Singvogel
> > GnuPG-Key-ID: 1024R/5068792D  1994-06-27
> >
> >

-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread kaye n
Thank you guys for telling me the email got lost.  I'll just describe it.

The partition table is GPT.

Imagine you're looking at the graphical presentation of my hdd in GParted.

Starting from the left:

858GB NTFS partition (intended for storing all kinds of data)

then

20GB ext4 partition, with mount point /

then

2GB ext4 partition, with mount point /home

then

1GB swap partition

then

50GB NTFS partition (intended for windows)

then, finally

only 10MB FAT32 partition because debian installer says I need an efi but I
don't know how big it should be.  Mount point at /boot/efi

If I boot from the hard drive, I ge this message:

Realtek PCIe GBE Family Controller Series v2.43 (08/25/11)
PXE-E61: Media test failure, check cable

PXE-M0F: Exiting PXE ROM

Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key

That's it. Thank you!

On Tue, Feb 11, 2020 at 6:13 PM Klaus Singvogel 
wrote:

> Felix Miata wrote:
> > kaye n composed on 2020-02-11 17:23 (UTC+0800):
> >
> > > No one?
> >
> > Your OP seems to have gotten lost in the ether. I don't see it on
> > https://lists.debian.org/debian-user/2020/02/threads.html and don't
> remember
> > seeing it arrive among any other debian-user email. I do see there
> another
> > original post from you about Grub.
>
> I, for myself, ignore jpg messages.
>
> I'm living in an textbased world. Extracting and viewing pictures from
> email is a big effort for me. They can't be cited nor referenced easily
> neither.
>
> Beside the fact that your posting was never seen here (see above).
>
> Regards,
> Klaus.
> --
> Klaus Singvogel
> GnuPG-Key-ID: 1024R/5068792D  1994-06-27
>
>


Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Klaus Singvogel
Felix Miata wrote:
> kaye n composed on 2020-02-11 17:23 (UTC+0800):
> 
> > No one?
> 
> Your OP seems to have gotten lost in the ether. I don't see it on
> https://lists.debian.org/debian-user/2020/02/threads.html and don't remember
> seeing it arrive among any other debian-user email. I do see there another
> original post from you about Grub.

I, for myself, ignore jpg messages.

I'm living in an textbased world. Extracting and viewing pictures from
email is a big effort for me. They can't be cited nor referenced easily
neither.

Beside the fact that your posting was never seen here (see above).

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread Felix Miata
kaye n composed on 2020-02-11 17:23 (UTC+0800):

> No one?

Your OP seems to have gotten lost in the ether. I don't see it on
https://lists.debian.org/debian-user/2020/02/threads.html and don't remember
seeing it arrive among any other debian-user email. I do see there another
original post from you about Grub.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Having trouble installing Debian on brand new hard drive

2020-02-11 Thread kaye n
No one?

On Thu, Feb 6, 2020 at 6:35 PM kaye n  wrote:

> Hello Friends!
>
> Are my attached files too big? If so, let me know, I'll make them smaller
> next time.
>
> debian_01.jpg shows how I formatted the brand new hard drive. My goal is
> to install Debian first, then Windows.  I know it's not the better way to
> make a dual boot system, but I just want to try.
>
> debian_02.jpg and debian_03 show the two different Boot Priority that I
> tried.  Both resulted in the last file, debian_04.jpg
>
> As you can see in debian_04.jpg ,  the Debian that was recently installed
> in the hard drive is unbootable.
>
> Thank you for your time!
>