Re: installation partition recommendations

2022-12-11 Thread Max Nikulin

On 11/12/2022 22:01, Semih Ozlem wrote:


Basically the menu that offers choices for where to boot the machine 
appears. If Debian or USB drive is chosen the menu comes back with no 
progress at all.


Directory structure for UEFI boot (sdd4 in your case) depends on whether 
it is internal disk or removable storage: EFI/debian/shimx64.efi and 
EFI/BOOT/bootx64.efi (the same file content). Particular implementation 
may have bugs. I am unsure which way firmware interprets a USB drive 
with multiple partitions in your case. If installer created just one 
directory then I would try to copy it to another name.


Do you have an option to choose boot from particular .efi file? If so 
try bootx64.efi or shimx64.efi directly



Within the bios secure boot is disabled.


... or grubx64.efi in this case.

Please, show the list of files on sdd4
find EFI | sort

If you can boot to some linux on that machine (e.g. a USB drive with 
live image) then show output of

efibootmgr -v



Re: installation partition recommendations

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 03:01:24PM +, Semih Ozlem wrote:
> Hi
> 
> Basically the menu that offers choices for where to boot the machine
> appears. If Debian or USB drive is chosen the menu comes back with no
> progress at all.
> Within the bios secure boot is disabled.
>

Hi Semih,

1. Check what the options are for booting - UEFI and Legacy/MBR, UEFI only?

2. If your machine has an option to choose an option to boot once - on a
   lot of machines, that's F12 or similar - what does that do?

3. There is no problem in using secure boot in Debian - in Debian 11, it works.

4. What was your USB drive used for in the past? Is it possible it has
bad blocks - Linux can sometimes be more picky than just a FAT32 file
system used for storage.

All best, as ever,

Andy Cater



Re: installation partition recommendations

2022-12-11 Thread Semih Ozlem
Hi

Basically the menu that offers choices for where to boot the machine
appears. If Debian or USB drive is chosen the menu comes back with no
progress at all.
Within the bios secure boot is disabled.

Charles Curley , 11 Ara 2022 Paz, 14:29
tarihinde şunu yazdı:

> On Sun, 11 Dec 2022 09:38:42 +
> Semih Ozlem  wrote:
>
> > sdd1 is for swap
> > sdd2 is for boot
> > sdd4 is for /boot/efi
> >
> > sdd1 and sdd4 are fat32
> > sdd3 is ext4
>
> One problem I see is that sdd1 should be Linux swap, not fat32. But I
> doubt that that is your problem.
>
> --
> Does anybody read signatures any more?
>
> https://charlescurley.com
> https://charlescurley.com/blog/
>
>


Re: installation partition recommendations

2022-12-11 Thread Charles Curley
On Sun, 11 Dec 2022 09:38:42 +
Semih Ozlem  wrote:

> sdd1 is for swap
> sdd2 is for boot
> sdd4 is for /boot/efi
> 
> sdd1 and sdd4 are fat32
> sdd3 is ext4

One problem I see is that sdd1 should be Linux swap, not fat32. But I
doubt that that is your problem.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: installation partition recommendations

2022-12-11 Thread Andrew M.A. Cater
On Sun, Dec 11, 2022 at 09:38:42AM +, Semih Ozlem wrote:
> Hi everyone I am trying to install debian 11 on a 32 gb usb.
> I created the following partition table
> 
> sdd  8:48   1  28.7G  0 disk
> ├─sdd1   8:49   1 1G  0 part
> ├─sdd2   8:50   1   849M  0 part /media/user/NO_LABEL
> ├─sdd3   8:51   1  26.3G  0 part
> /media/user/2f83ff73-3bde-4021-99db-d6b61863ed8
> └─sdd4   8:52   1   561M  0 part /media/user/NO_LABEL1
> 
> sdd1 is for swap
> sdd2 is for boot
> sdd4 is for /boot/efi
> 
> sdd1 and sdd4 are fat32
> sdd3 is ext4
> 
> the installation finished giving no errors but the system wont boot from
> this usb
> 
> What should be changed

With a machine with 32G in total: I'd be very tempted to:

Use expert mode for the install

Take the default for "everything in one partition" as a guideline - that should
sort out booting with the EFI partition at the beinning. Resize the LVM 
partition to allow for your FAT partition at the end  which I presume is for 
data transfer. 

If this is booting and running entirely from an external USB drive, be aware
that it may be very slow - depending on the speed of the USB.

The reason for "all in one" partitioning is that I have a similar setup on a
physical machine which only has a 32G flash drive internally - unless you have
to, don't second-guess the partitioner when faced with that amount of space.

All the very best, as ever,

Andy Cater 



Re: installation partition recommendations

2022-12-11 Thread Thomas Schmitt
Hi,

Semih Ozlem wrote:
> Hi everyone I am trying to install debian 11 on a 32 gb usb.
> [...]
> the installation finished giving no errors but the system wont boot from
> this usb

How far does booting get ?
- Does EFI offer the USB stick for booting ?
- Does GRUB show up but fail to find the installed Debian system ?

Does the Debian installation ISO boot from USB stick via the involved
USB socket?


Have a nice day :)

Thomas



installation partition recommendations

2022-12-11 Thread Semih Ozlem
Hi everyone I am trying to install debian 11 on a 32 gb usb.
I created the following partition table

sdd  8:48   1  28.7G  0 disk
├─sdd1   8:49   1 1G  0 part
├─sdd2   8:50   1   849M  0 part /media/user/NO_LABEL
├─sdd3   8:51   1  26.3G  0 part
/media/user/2f83ff73-3bde-4021-99db-d6b61863ed8
└─sdd4   8:52   1   561M  0 part /media/user/NO_LABEL1

sdd1 is for swap
sdd2 is for boot
sdd4 is for /boot/efi

sdd1 and sdd4 are fat32
sdd3 is ext4

the installation finished giving no errors but the system wont boot from
this usb

What should be changed


Partition recommendations for dual boot installation???

2001-04-08 Thread Abner Gershon
I am planning to install Debian potatoe release on my
Dell 4100 pentium III with 60 GB HD. I have read
through several different versions of installation
instruction posted at various places on the web and
few things remain unclear to me.

Should I partition my disk immediately prior to
installation (using DOS fdisk for instance) or will
installation program partition HD for me?

How to partition exactly? I have a 6o GB HD (master)
and a 6 GB HD (slave) and want to install Debian and
Windows ME with either LILO or GRUB as boot loader. I
have seen suggested to make different partitions for
/mbr, /usr, /usr/local, /var, /home, 
and /tmp. Plus I will need at least one or two for Windows.

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/



Re: Partition recommendations for dual boot installation???

2001-04-08 Thread ktb
On Sun, Apr 08, 2001 at 11:06:09AM -0700, Abner Gershon wrote:
 I am planning to install Debian potatoe release on my
 Dell 4100 pentium III with 60 GB HD. I have read
 through several different versions of installation
 instruction posted at various places on the web and
 few things remain unclear to me.
 
 Should I partition my disk immediately prior to
 installation (using DOS fdisk for instance) or will
 installation program partition HD for me?
 
 How to partition exactly? I have a 6o GB HD (master)
 and a 6 GB HD (slave) and want to install Debian and
 Windows ME with either LILO or GRUB as boot loader. I
 have seen suggested to make different partitions for
 /mbr, /usr, /usr/local, /var, /home, 
 and /tmp. Plus I will need at least one or two for Windows.
 

If your installing Windows and Debian on the same disk.  Install Windows
first.  Create the partition for Windows and the partition you will use
later for Debian.  BTW, if you can, stay away from W.ME it is a piece of
royal crap.  

When you go to install Debian the installation routine will give you the
chance to partition the drive.  This doesn't sound like this is going to
be a server or firewall so I wouldn't worry too much about your
partitioning scheme at first.  Create /  and a swap partition.  Later
you will have more understanding of partitions and the sizes you want.

Also sounds like you need to read the installation instructions at -
http://www.debian.org/releases/stable/#new-inst
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: Partition recommendations for dual boot installation???

2001-04-08 Thread Roberto Diaz
 How to partition exactly? I have a 6o GB HD (master)
 and a 6 GB HD (slave) and want to install Debian and
 Windows ME with either LILO or GRUB as boot loader. I
 have seen suggested to make different partitions for
 /mbr, /usr, /usr/local, /var, /home, 
 and /tmp. Plus I will need at least one or two for Windows.

Take advice of this guy who is writting you right now and who in fact
havent partitioned properly:

bash-2.03$ df
Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/hda1   705352 38264631256   6% /
/dev/hda5  2015464   1506096406984  79% /usr
/dev/hda6  1007936386444570288  40% /var
/dev/hda2  4053487   1914207   1929566  50% /home

As you see I left too much space for / which now is a waste (well I could
symlink but thats dirty and you dont want that).. that space would have
been much better in /usr

/var hasnt been too a very good choice.. in fact very bad, for a nntp
server or mail server it would be a good choice but for a workstation is
not.. 

So see that maybe you want to put as much room as possible into /usr 

bash-2.03$ du -s /usr
1506096 /usr

bash-2.03$ du -s /usr/local
118096  /usr/local
bash-2.03$ du -s /usr/share
505684  /usr/share
bash-2.03$ du -s /usr/src
280356  /usr/src
bash-2.03$ du -s /usr/lib/  
305924  /usr/lib


So... the best.. well now I will do the following:

let far less room for /
let far more room for /usr and /usr/local
less room for /var

And as ever the more room for /home the best.. 

Take your own conclusions.. since I am not goint to reinstall my whole
system.. I will survive untill I will get a brand new 40-80 Gbytes HD.

Hope this help ;)


Regards

Roberto


Roberto Diaz [EMAIL PROTECTED]
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)




Re: Partition recommendations for dual boot installation???

2001-04-08 Thread Mario Vukelic
On 08 Apr 2001 21:40:08 +0200, Roberto Diaz wrote:

 less room for /var

Don't make it too small, apt-get stuffs the debs there when you switch
from, e.g., potato to woody, can be several 100 MBs. So yes, for a
workstation it's probably best to have /var /tmp and /usr on one huge
partition

Regards, M.

-- 

I did not vote for the Austrian government



Re: Partition recommendations for dual boot installation???

2001-04-08 Thread Roberto Diaz
 
  less room for /var
 Don't make it too small, apt-get stuffs the debs there when you switch
 from, e.g., potato to woody, can be several 100 MBs. So yes, for a
 workstation it's probably best to have /var /tmp and /usr on one huge
 partition

Yes its true you need a cache there.. but as you can see in my working
system:

/dev/hda6  1007936386496570236  40% /var

I am only using 40% and as you can see:

bash-2.03$ du -s /var/cache/apt/archives/
189756  /var/cache/apt/archives

It is not too much.. I run every week apt-get update; apt-get
upgrade; apt-get dist-upgrade.. and I doubt I will run into troubles.

So maybe I would run into troubles if I wanted to go unstable and I had to
download hundreds of new packages... meantime those free 500 MGbytes are
very stable and maybe it is too much..


Regards

Roberto


Roberto Diaz [EMAIL PROTECTED]
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)




Re: Partition recommendations for dual boot installation???

2001-04-08 Thread Karsten M. Self
on Sun, Apr 08, 2001 at 11:06:09AM -0700, Abner Gershon ([EMAIL PROTECTED]) 
wrote:
 I am planning to install Debian potatoe release on my Dell 4100
 pentium III with 60 GB HD. I have read through several different
 versions of installation instruction posted at various places on the
 web and few things remain unclear to me.
 
 Should I partition my disk immediately prior to installation (using
 DOS fdisk for instance) or will installation program partition HD for
 me?

I prefer partitioning as a separate step prior to installation.

My understanding is also that you typically want to install Legacy MS
Windows prior to GNU/Linux.

 How to partition exactly? I have a 6o GB HD (master) and a 6 GB HD
 (slave) and want to install Debian and Windows ME with either LILO or
 GRUB as boot loader. I have seen suggested to make different
 partitions for /mbr, /usr, /usr/local, /var, /home, and /tmp. Plus I
 will need at least one or two for Windows.

Debian partition suggestions:

http://kmself.home.netcom.com/Linux/FAQs/partition.html

You'll need to modify this scheme specifically to address your boot
requirements.

-- 
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
 What part of Gestalt don't you understand?   There is no K5 cabal
  http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org


pgpgcqo2vBsq6.pgp
Description: PGP signature


Re: partition recommendations

2000-03-16 Thread kmself
With a 2.4 GB IDE and 2x2.1 GB SCSI:


Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/root   152247 54883 89502  38% /
/dev/sdb5   101089 16302 79568  17% /tmp
/dev/sdb6   303344193071 94612  67% /var
/dev/sda5  1209572948492199636  83% /usr
/dev/sdb7  1517920   1218352222460  85% /usr/local
/dev/hda6   249871127331109640  54% /usr/src
/dev/sda7   585008194212361080  35% /home
/dev/hda1   157044119212 37832  76% /mnt/dos
/dev/hda5   495960 74844395516  16% /var/spool/news
/dev/hda8   253775128974111699  54% /usr/doc
/dev/hda2  1007992597564359224  62% /mnt/misc1

...note particularly /, /usr, and /usr/local.  I had to split out
several /usr subdirectories because 1.2 GB wasn't sufficient, ditto /var
after adding a locally-hosted leafnode usenet server.

I generally prefer isolating /tmp, /var, /usr, /usr/local, and /home,
and would tend to give the bulk of space to /home.  If I could get away
with fewer partitions, I would, but given my physical disks, this is
pretty much how it crumbles.  The system's got a lot of stuff on it -- I
like to try things out g.

You'll also want probably 2x physical memory as swap.  Guessing you've
got an IDE drive, you'll get slow performance from this.

On Wed, Mar 15, 2000 at 02:22:37PM -0800, Kenneth Scharf wrote:
 With an eye toward upgrading to Potato, and hearing
 all the horor stories about slink-potato upgrade
 failures I decided to do a fresh install from scratch.
  So I obtained a brand new 27GB drive from
 www.compgeeks.com (check them out, great bargins!).  I
 will have a small (say 100 mb) /boot partition at
 the front of the disk (to avoid cyl 1024 problems with
 lilo), and a 128mb swap partition.  Other than that
 any good ideas on how to partition the disk?  In the
 past I have just made the rest of the drive one hugh
 partition for \ to avoid figuring out how much to
 allocate for everything. However with 27GB of space I
 guess I can make a few errors without much horror.  
 
 I intend for this machine to be a workstation (machine
 is a PIII-500 with 128mb dram), and will be developing
 software/packages with an eye toward becoming a debian
 developer (whenever new ones are being accepted
 again).  BTW I still have slink on the other disk
 (13gb / partition).
 
 =
 Amateur Radio, when all else fails!
 
 http://www.qsl.net/wa2mze
 
 Debian Gnu Linux, Live Free or .
 
 
 
 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
Karsten M. Self (kmself@ix.netcom.com)
What part of Gestalt don't you understand?

Scope out Scoop:  http://scoop.kuro5hin.org/
Nothin' rusty about Kuro5hin:  http://www.kuro5hin.org/


Re: partition recommendations

2000-03-16 Thread Ethan Benson
On Wed, Mar 15, 2000 at 02:22:37PM -0800, Kenneth Scharf wrote:
 With an eye toward upgrading to Potato, and hearing
 all the horor stories about slink-potato upgrade
 failures I decided to do a fresh install from scratch.
  So I obtained a brand new 27GB drive from
 www.compgeeks.com (check them out, great bargins!).  I
 will have a small (say 100 mb) /boot partition at

more like 5 or 10MB for /boot, but i much prefer to simply have a
small / partition instead of making a separate /boot.

 the front of the disk (to avoid cyl 1024 problems with
 lilo), and a 128mb swap partition.  Other than that
 any good ideas on how to partition the disk?  In the
 past I have just made the rest of the drive one hugh
 partition for \ to avoid figuring out how much to
 allocate for everything. However with 27GB of space I
 guess I can make a few errors without much horror.  

oh my lord no, that may be easier but i think you will hate yourself
later for doing that, for one thing it will take FOREVER to fsck, and
if it ever encounters a unnice kernel (ahem 2.2.13) your entire system
is hosed, gone, along with all your data.  

yes I am a partition freak, i have lots of partitions, but my recent
encounter with kernel 2.2.13 made me very grateful that i made so many
partitions, it saved me from losing all user data and only had to
reinstall the OS, which is relativly less effort then recovering user
data.

I reccommend:

64MB - 70MB / this easily fits below 1024 cylinders so you don't need
a clumsy /boot partition.

huge (i have 4GB) /usr

large /usr/local if you plan to compile stuff yourself, this way if
for some reason you want to rebuild your system from scratch (say do
to something nasty like kernel 2.2.13) you don't lose your self
compiled stuff/source etc.

800MB - 1GB+ /var, why so big?  /var/cache/apt nuff said. (symlinking
stuff around is very ugly to me, and its not like you don't have the
space :P)

for improved security i always create a 30 - 60 MB /tmp and a 200-300MB
/var/tmp, this is just my weird preference, its probably just as good
to create a 100 or so MB /tmp and symlink /var/tmp to it.  this
disallows any user writablility to the / filesystem, which cuts off
all kinds of DoS and other security attacks.

now pretty much all that is left is /home, after you pick your sizes
for the above, use the rest for a nice huge /home

now with the above setup /usr and /usr/local may be mounted readonly
full time, just teach apt how to make /usr writable during
upgrades/installs this also helps protect agianst some security issues
but is really more protective against things like kernel 2.2.13 ;-)

 I intend for this machine to be a workstation (machine
 is a PIII-500 with 128mb dram), and will be developing
 software/packages with an eye toward becoming a debian
 developer (whenever new ones are being accepted
 again).  BTW I still have slink on the other disk
 (13gb / partition).
 

the above partitioning scheme should work well for developing.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


partition recommendations

2000-03-15 Thread Kenneth Scharf
With an eye toward upgrading to Potato, and hearing
all the horor stories about slink-potato upgrade
failures I decided to do a fresh install from scratch.
 So I obtained a brand new 27GB drive from
www.compgeeks.com (check them out, great bargins!).  I
will have a small (say 100 mb) /boot partition at
the front of the disk (to avoid cyl 1024 problems with
lilo), and a 128mb swap partition.  Other than that
any good ideas on how to partition the disk?  In the
past I have just made the rest of the drive one hugh
partition for \ to avoid figuring out how much to
allocate for everything. However with 27GB of space I
guess I can make a few errors without much horror.  

I intend for this machine to be a workstation (machine
is a PIII-500 with 128mb dram), and will be developing
software/packages with an eye toward becoming a debian
developer (whenever new ones are being accepted
again).  BTW I still have slink on the other disk
(13gb / partition).

=
Amateur Radio, when all else fails!

http://www.qsl.net/wa2mze

Debian Gnu Linux, Live Free or .



__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com