Linux/Ubuntu laptop setup/install -- Steps for complete installation needed

bruce badouglas at gmail.com
Fri Nov 22 01:22:07 UTC 2024


Hi MRZ (and everyone else)!!

Here's a start on what I'm thinking are steps/processes to use to
setup/install Ubuntu on a laptop (no built-in wifi/lan)

I go even further, as a sort of "dump" of issues that will need to be
dealt with to really get the laptop I'm envisioning. A number of these
issues can be handled later, and incorporated into a "Auto Setup
Process".

Feel free to add/comment as you see fit!!
 (I'm more than willing to modify to get to a reasonable working set of steps.)

*****************************
ubuntu setup live usb
 insert test usb->multi usb adapter/dongle
 insert test usb/wifi in the multi usb dongle
   -usb-wifi should (hopefully) be supported
     out of box by liveusb
    -this assumes the test "laotop" doesnt
      have builtin lan/eth port, or
      built-in supported wifi

 turn ubuntu liveusb
 turn on box
 boot up ubuntu

https://www.quora.com/How-do-I-install-Ubuntu-on-an-SSD-with-a-home-directory-on-HDD

*system has SDD/HDD drive
 does ubuntu have lvm/vol creation/set up prcoess

setup SSD
 -start the setup to make the SSD the "primary/main"
 -so OS boots from the SSD
 -how to configure LVM/partition
 -fstab??
 -mount points??
 -any symlinks?
 -assume the test laptop is default/empty to begin
  with -- but it will copy/rsync a bunch of dirs/files
  from the old "laptop"


 =========================
 steps
 "Install Ubuntu" from the GRUB menu
 select "Install Ubuntu."
   choose "Something else" to manually partition the drives.
     Select your SSD from the list of devices.
     - Create the following partitions:

     Root Partition (: Allocate space for the root filesystem.
        Recommended size is at least 20 GB.
        Type: ext4
        Mount point: /

     Swap Partition (optional): If you want swap space, you can create
a swap partition.
      Size can vary based on your needs (usually 1-2 times your RAM).
      what are/should be attributes/parameters??

     "home" Partition (: Allocate space for the home
        Recommended size is at least xx GB.
        Type: ext4
        Mount point: /home

      does "home" go on SSD or HDD



setup HDD
 fstab??
 mount??
 LVM/partition?
 /home ??
 --data

 the usecase might be
  for a dev, map/match dirs on HDD to github proj/dirs

  (posssible dirs on HDD)
    should these have "mount points/fstab entries?
     or just simply "mkdir"
     -who would be owner?
     -what users would be created for the system?
       root -- sys functions
       userA (me) -- for the "/home" dir -- any other dirs?
       userTest -- (for possibly other users..)
  proj1
   docs/readme stuf
   Code
   devOS (for the proj1)
   testDir
   projMgmt stuff
   -other dirs

  (of course some of this will map/tgt cloud processes, but have the local
   massaging/dev/etc on the local laptop)


  once system ubuntu/SDD/HDD -- boot order is set, and works...

  setup process to be able to "auto/script" update/restore duplicate
the laptop setup...
   -- to be able to generate the system proesses/functions/ports/security etc...

  -should the process use selinux?
    what's required, how, etc...

  -identify the local dev services...
    https
    mysqld
    nginx
    etc..

  -turn off/disable funcs/services not needed
  -monitoring func -- for ports/processes/update services/code

   what else????




On Wed, Nov 20, 2024 at 2:53 PM MR ZenWiz <mrzenwiz at gmail.com> wrote:
>
> On Wed, Nov 20, 2024 at 10:55 AM bruce <badouglas at gmail.com> wrote:
> >
> :
> >
> > But regarding the setting up of the partitions/vols etc.. I'd like to
> > get input from the list, instead of "just giving it a go"!!
> >
> This would still be the first step - do a straightforward standard
> installation with no Internet connectivity. The USB install can handle
> this, although, once you have such a connection, it would be wise to
> update and install any additional options you choose. (Keyword: choose
> - it's your choice.)
>
> > I'm looking to have a process/setup that would be more along the lines
> > of what a dev dept would have for a software operation, or dev shop.
> >
> > Long ago, used to do this mess with the sysAdmin/devops guys, but i've
> > been out of the process for too long.
> >
> I strongly suspect that, given this last part, you'll pick it up easily.
>
> I also recommend the following, assuming you don't need the Windows
> that may (almost certainly) come on the laptop:
>
> 1) Install from the USB live stick and wipe out the entire disk.
> Ubuntu 24.04 will take care of your UEFI/BIOS depending on its
> settings, though you can specifically select UEFI install IIRC.
>
> 2) For simplicity, you can let the installer do the SSD partitioning.
> I would do the HDD add-on as a separate activity after installation.
> If you can and/or must partition the HDD at the same time, select it
> to be your /home drive and directory at this time. Use the whole disk
> unless you really need to partition it as you choose.
>
> 3) Connect to the Internet (internal or USB connector, be it WiFi or
> Ethernet adapter). I strongly suspect any new laptop today will come
> with a built-in WiFi; if not, get something that provides this. If it
> has WiFi but no Ethernet port, and you feel you must have Ethernet,
> buy an adapter so you'll have it when you need it. Once  connected,
> run an update and upgrade, and also install any other software you
> choose to add-on.
>
> 4) If you have not set up the HDD yet, do so now with gparted (it
> comes with the installation IRRC; if not, install it).
>
> 5) If you set up the HDD as your /home after installation, be sure to
> copy your /home dir (from the SSD) onto the HDD BEFORE the next steps,
> and set the ownership permissions properly. Then edit the /etc/fstab
> to show the new /home and reboot. If you do this, your /home on the
> SSD will be inaccessible, but the /home on your HDD will be used
> instead (hence the need to copy SSD-2-HDD before the reboot).
>
> In case I didn't mention it, it's all your choice. One of the many
> benefits of Linux distros.
>
> My $.02 FWIW - HTH.
>
> MRZ
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



More information about the ubuntu-users mailing list