Re: Bootable USB Buster System

2019-10-29 Thread Pascal Hambourg

Le 29/10/2019 à 20:37, Jimmy Johnson a écrit :
the file system you use matters, some file systems only use uefi and 
will give you no legacy support.


Utter nonsense.



Re: Bootable USB Buster System

2019-10-29 Thread deloptes
Joe wrote:

> That's OK, so will I when an OS version of Access exists. I'm not
> holding my breath.

The business enforces is, we can not do anything against. I don't mind using
the crap if they pay the license and they pay me for using it.

I used to have one linux pc before, but now I have to use a cygwin shell to
do meaningful work :|

thats life.




Re: Bootable USB Buster System

2019-10-29 Thread Joe
On Tue, 29 Oct 2019 13:10:04 -0700
Jimmy Johnson  wrote:

> On 10/29/19 12:07 PM, Joe wrote:
> 
> > No, it doesn't do legacy. There is no 'legacy' on any BIOS screen.
> > It's an Aspire ES1-132. But Stretch installed in EFI easily and
> > even gave me a dual-boot with Win10, which didn't interest me at
> > the time, but does now. I'm doing a bit of Access work for the
> > first time in years.  
> 
> Sorry Joe, I retired in 2012 and don't do windows anymore and every
> time I wipe a new computers win10 I celebrate!
> 

That's OK, so will I when an OS version of Access exists. I'm not
holding my breath.

-- 
Joe



Re: Bootable USB Buster System

2019-10-29 Thread Jimmy Johnson

On 10/29/19 12:07 PM, Joe wrote:


No, it doesn't do legacy. There is no 'legacy' on any BIOS screen. It's
an Aspire ES1-132. But Stretch installed in EFI easily and even gave me
a dual-boot with Win10, which didn't interest me at the time, but does
now. I'm doing a bit of Access work for the first time in years.


Sorry Joe, I retired in 2012 and don't do windows anymore and every time 
I wipe a new computers win10 I celebrate!




Re: Bootable USB Buster System

2019-10-29 Thread Jimmy Johnson

On 10/29/19 12:22 PM, Pascal Hambourg wrote:

HP UEFI firmwares were among the most broken ones, ignoring EFI boot 
entries created for GRUB.


I swear those new hp's are broken by design just like our main 
stream(cough) linux. But if you find the right system, using the right 
kernel you can get around it and I think you already know that.




Re: Bootable USB Buster System

2019-10-29 Thread Jimmy Johnson

On 10/29/19 9:23 AM, deloptes wrote:

Jimmy Johnson wrote:


My acer aspire one is not having a problem and another acer with 17 inch
screen, hdmi and ddr3 is not having a problem, I can't get at the model
right now. You may have to fiddle with your bios, on a samsung I have to
go to bios at boot, to boot device where I find what I want is at the
top of the list and hit f10 and it then boots what I want.



I personally do not see a reason why I should mess up with the bios to
switch back and fort to legacy and not legacy - the one HP I have does not
support legacy too.
Well if you don't tell the computer you want to use legacy then you will 
get uefi every time. On a new hp using ddr4 you're going to get uefi 
every time unless you use the bios boot menu no matter what you do. Also 
the file system you use matters, some file systems only use uefi and 
will give you no legacy support.


Good luck.



Re: Bootable USB Buster System

2019-10-29 Thread Pascal Hambourg

Le 29/10/2019 à 17:23, deloptes a écrit :

Jimmy Johnson wrote:

I personally do not see a reason why I should mess up with the bios to
switch back and fort to legacy and not legacy


Because some (many ?) UEFI firmwares are defective and having them boot 
a GNU/Linux system in EFI mode can be a real pain. All the UEFI 
firmwares I have used had boot bugs. Legacy boot is usually much easier 
to achieve.



- the one HP I have does not support legacy too.


HP UEFI firmwares were among the most broken ones, ignoring EFI boot 
entries created for GRUB.




Re: Bootable USB Buster System

2019-10-29 Thread Joe
On Tue, 29 Oct 2019 02:45:56 -0700
Jimmy Johnson  wrote:

> On 10/29/19 1:56 AM, Joe wrote:
> > On Tue, 29 Oct 2019 01:21:52 -0700
> > Jimmy Johnson  wrote:
> >   
> >> On 10/27/19 10:38 AM, Peter Ehlert wrote:  
> >>>
> >>> On 10/26/19 5:41 PM, songbird wrote:  
>  Peter Ehlert wrote:  
> > I have tried it, several times, but was unable to get Grub
> > properly installed... not able to boot.
> > I too would like such a tool  
>      hmm, i have a booting USB stick of stable (before recent
>  release so i'm actually one stable back now :) ).  no issues
>  at all booting from it and i don't recall installing GRUB
>  to it.
> 
>      i use UEFI booting most of the time via refind so i don't
>  bios boot often, but it does work.  
> >>  
> >>> I don't use UEFI, perhaps that is the difference.  
> >>
> >> Keep doing a legacy install it's the best bet, most all computers
> >> will do a legacy boot from the bios boot menu, even the new
> >> computers built for windows 10.  
> 
> 
> > Not mine, Acer netbook about a year old.  
> 
> My acer aspire one is not having a problem and another acer with 17
> inch screen, hdmi and ddr3 is not having a problem, I can't get at
> the model right now. You may have to fiddle with your bios, on a
> samsung I have to go to bios at boot, to boot device where I find
> what I want is at the top of the list and hit f10 and it then boots
> what I want.
> 
> Good luck.
> 

No, it doesn't do legacy. There is no 'legacy' on any BIOS screen. It's
an Aspire ES1-132. But Stretch installed in EFI easily and even gave me
a dual-boot with Win10, which didn't interest me at the time, but does
now. I'm doing a bit of Access work for the first time in years.

-- 
Joe



Re: Bootable USB Buster System

2019-10-29 Thread deloptes
Jimmy Johnson wrote:

> My acer aspire one is not having a problem and another acer with 17 inch
> screen, hdmi and ddr3 is not having a problem, I can't get at the model
> right now. You may have to fiddle with your bios, on a samsung I have to
> go to bios at boot, to boot device where I find what I want is at the
> top of the list and hit f10 and it then boots what I want.

I personally do not see a reason why I should mess up with the bios to
switch back and fort to legacy and not legacy - the one HP I have does not
support legacy too.






Re: Bootable USB Buster System

2019-10-29 Thread Jimmy Johnson

On 10/29/19 1:56 AM, Joe wrote:

On Tue, 29 Oct 2019 01:21:52 -0700
Jimmy Johnson  wrote:


On 10/27/19 10:38 AM, Peter Ehlert wrote:


On 10/26/19 5:41 PM, songbird wrote:

Peter Ehlert wrote:

I have tried it, several times, but was unable to get Grub
properly installed... not able to boot.
I too would like such a tool

    hmm, i have a booting USB stick of stable (before recent
release so i'm actually one stable back now :) ).  no issues
at all booting from it and i don't recall installing GRUB
to it.

    i use UEFI booting most of the time via refind so i don't
bios boot often, but it does work.



I don't use UEFI, perhaps that is the difference.


Keep doing a legacy install it's the best bet, most all computers
will do a legacy boot from the bios boot menu, even the new computers
built for windows 10.




Not mine, Acer netbook about a year old.


My acer aspire one is not having a problem and another acer with 17 inch 
screen, hdmi and ddr3 is not having a problem, I can't get at the model 
right now. You may have to fiddle with your bios, on a samsung I have to 
go to bios at boot, to boot device where I find what I want is at the 
top of the list and hit f10 and it then boots what I want.


Good luck.



Re: Bootable USB Buster System

2019-10-29 Thread Joe
On Tue, 29 Oct 2019 01:21:52 -0700
Jimmy Johnson  wrote:

> On 10/27/19 10:38 AM, Peter Ehlert wrote:
> > 
> > On 10/26/19 5:41 PM, songbird wrote:  
> >> Peter Ehlert wrote:  
> >>> I have tried it, several times, but was unable to get Grub
> >>> properly installed... not able to boot.
> >>> I too would like such a tool  
> >>    hmm, i have a booting USB stick of stable (before recent
> >> release so i'm actually one stable back now :) ).  no issues
> >> at all booting from it and i don't recall installing GRUB
> >> to it.
> >>
> >>    i use UEFI booting most of the time via refind so i don't
> >> bios boot often, but it does work.  
> 
> > I don't use UEFI, perhaps that is the difference.  
> 
> Keep doing a legacy install it's the best bet, most all computers
> will do a legacy boot from the bios boot menu, even the new computers
> built for windows 10.
> 

Not mine, Acer netbook about a year old.

-- 
Joe



Re: Bootable USB Buster System

2019-10-29 Thread Jimmy Johnson

On 10/27/19 10:38 AM, Peter Ehlert wrote:


On 10/26/19 5:41 PM, songbird wrote:

Peter Ehlert wrote:

I have tried it, several times, but was unable to get Grub properly
installed... not able to boot.
I too would like such a tool

   hmm, i have a booting USB stick of stable (before recent
release so i'm actually one stable back now :) ).  no issues
at all booting from it and i don't recall installing GRUB
to it.

   i use UEFI booting most of the time via refind so i don't
bios boot often, but it does work.



I don't use UEFI, perhaps that is the difference.


Keep doing a legacy install it's the best bet, most all computers will 
do a legacy boot from the bios boot menu, even the new computers built 
for windows 10.


I've done this with many systems, having firmware and drivers installed 
is the only consideration I can think of and installing a usb wireless 
can help if needed when you get stuck. I have one that looks like a pin 
drive called 'proster' and seems to work on all kinds of computer systems.


Good luck.



Re: Bootable USB Buster System

2019-10-29 Thread deloptes
Kenneth Parker wrote:

> Background:  One of my "volunteer activities" is to "Rehabilitate" really
> old Hardware, to keep it off our Landfills, and to have it available to
> people with Extremely Low finances.  I was part of an organization in
> Seattle, doing this, but I am not finding others, at least so far, here in
> North Carolina.

Given the power consumption of older hardware and the productivity, I
wouldn't do it for the sake of the planet. So no wonder. On the other
hand - the microsoft/apple mentality to obsolete the hardware after 2-5y is
also extremely bad. I guess the truth is somewhere in the middle.

For example I installed ubuntu or debian to few older notebooks and desktops
and gave them to few elderly people 10y ago. This year I started replacing
them.

regards



Re: Bootable USB Buster System

2019-10-29 Thread deloptes
Kenneth Parker wrote:

> Here I am.  And yes, I have run installs on USB Drives, on one system, and
> then tried to boot it on another.  Things that go wrong include different
> naming conventions for Ethernet, sound woes, and even (at least once) only
> getting into Text Mode, due to wildly different Video hardware.  So what I
> was trying to figure out was, what's involved in booting a Live DVD (or
> USB) iso system, and if anybody had figured out how to populate the file
> systems, yet do Hardware Tests, during the booting process.

All you described is expected and there is nothing wrong with it. When you
do a USB boot, you have to prepare the USB to support as much hardware as
possible before you boot. Also you do not, I repeat, you do not configure
network or other stuff - you keep the customizations to a minimum.



Re: Bootable USB Buster System

2019-10-28 Thread Kenneth Parker
On Sun, Oct 27, 2019 at 4:52 PM Brian  wrote:



The OP will be along in a while to give his assessment of the suggested
> techniques and how they fit his aspirations.
>

Here I am.  And yes, I have run installs on USB Drives, on one system, and
then tried to boot it on another.  Things that go wrong include different
naming conventions for Ethernet, sound woes, and even (at least once) only
getting into Text Mode, due to wildly different Video hardware.  So what I
was trying to figure out was, what's involved in booting a Live DVD (or
USB) iso system, and if anybody had figured out how to populate the file
systems, yet do Hardware Tests, during the booting process.

Again, thanks everyone!

Kenneth Parker


Re: Bootable USB Buster System

2019-10-28 Thread Kenneth Parker
On Sun, Oct 27, 2019 at 7:01 AM Richard Owlett  wrote:

> On 10/27/2019 04:27 AM, deloptes wrote:
> > Tom Browder wrote:
> >
> >> That would be great! As usual, the Devil is in the details!
> >
> > well, it is not a rocket science as shown above - I'll post here this
> > evening or tomorrow. I need to redo this on the debian system and see if
> > there are some differences
> >
>
> Would what you do explicitly depend on EFI?
> I don't have a clear idea of what Kenneth described in his original post.
> HOWEVER, having such a system might be worthwhile to explore some of my
> ideas. I have a collection of elderly machines, some with only legacy BIOS.
>

I'll tell you what I've experienced, trying to install on some "ancient"
systems.  For some, strange reason, the Install "thinks" that the "ancient"
BIOS is "UEFI Friendly", and then I end up in a situation where I'm thrown
into the GRUB Command Line without ability to, even manually get the Linux
System to boot.

Background:  One of my "volunteer activities" is to "Rehabilitate" really
old Hardware, to keep it off our Landfills, and to have it available to
people with Extremely Low finances.  I was part of an organization in
Seattle, doing this, but I am not finding others, at least so far, here in
North Carolina.

Thanks so far, for all the Responses.

Kenneth Parker


Re: Bootable USB Buster System

2019-10-28 Thread Kenneth Parker
I've been swamped for a few days:  Sorry it took me a while to get back to
this Thread.

On Sat, Oct 26, 2019 at 1:32 PM Brian  wrote:

> On Sat 26 Oct 2019 at 12:33:52 -0400, Kenneth Parker wrote:
>
> > Hello,
> >
> > What I want,  is almost there (put a Live Buster DVD on a USB Drive), but
> > I'm hoping for more.
> >
> > I'd like to format my USB Drive into, at least three Partitions,
> preferably
> > using msdos Partitioning (so it can Boot from older systems).  The
> > Partitions are Root, Swap and Home.  So far, so good, I've done this
> > before.
> >
> > What is different this time, is that I'd like to be able to Boot this
> from
> > different Systems, probing their Network, Sound, Video, Keyboard and
> Mouse
> > systems on Bootup, but leaving any Local Hard Drives alone.  Existing
> > systems do this, for example, Knoppix, but it's doing a "Mini Install"
> each
> > time.  I'd like to, only have the Hardware testing, but not the rest of
> the
> > Install occurring.  Also, this allows me to have Static Data (i.e Logs),
> > saved from System to System.  Sort of like a "Super Rescue System".
>
> Would you please explain what you mean by "...leaving any Local Hard
> Drives alone."?
>

For one thing, I don't want it to, for example, "notice" a Swap Partition
on the Internal Hard Drive and try to use it.  In other words, sort of like
a Live DVD, but with space to save data from the system, being rescued.

>
> > Are you with me so far?  Have people done this?
>
> I think I have so.
>

Thanks.  Now, let me look at some other responses.

Kenneth Parker


Re: Bootable USB Buster System

2019-10-27 Thread deloptes
Brian wrote:

>> Cause I may not have the time to do so, but of course it can be me.
> 
> Time (and the fun in taking on a task) is what keeps Debian alive.
> 

I would write a wiki on debian only if it is approved by the community. I
think it is fair, so if we agree, but also someone else can do this, why
not - for example OP could bring his share or even you.

>> >> This is a step by step how to to install debian on a USB stick and
>> >> make this stick bootable.  The stick in the example is found under
>> >> /dev/sdb. Change to fit your setup.
>> > 
>> > [Clear instructions snipped]
>> > 
>> > The installer can be used to install to a USB stick. What disadvantage
>> > is there in doing that?
>> 
>> There is no disadvantage but perhaps you want to make a copy of your
>> system to a usb stick or drive, and using debootstrap is IMO a convenient
>> way to get a default example.
> 
> A fair point. But that wasn't the focus of the instructions.
> 

Problem is a setup is always different, but I could include the commands I
use for copying a running system over - or lets say the basics.

>> I do not use the installer that often. Following the procedure I can also
>> copy a pre-configured system from a usb drive/stick to a pc/server.
>> And the bonus is that I do not have to download all the packages again.
> 
> Another reasonable justification.
> 
I have put this from couple of sources during the years with different
variation (crypted root with or without lvm and so on). As mentioned last
week I did this exercise on a RHEL server. It seems to be a robust process.

Another advantage is that you get only the base system installed - I do not
recall if this option exists in the installer, but I assume it exists.

> The OP will be along in a while to give his assessment of the suggested
> techniques and how they fit his aspirations.

lets see.

thanks for the opinion

regards



Re: Bootable USB Buster System

2019-10-27 Thread Brian
On Sun 27 Oct 2019 at 21:22:41 +0100, deloptes wrote:

> Brian wrote:
> 
> > Why "someone"? Why not you?
> 
> Cause I may not have the time to do so, but of course it can be me.

Time (and the fun in taking on a task) is what keeps Debian alive.

> >> This is a step by step how to to install debian on a USB stick and
> >> make this stick bootable.  The stick in the example is found under
> >> /dev/sdb. Change to fit your setup.
> > 
> > [Clear instructions snipped]
> > 
> > The installer can be used to install to a USB stick. What disadvantage
> > is there in doing that?
> 
> There is no disadvantage but perhaps you want to make a copy of your system
> to a usb stick or drive, and using debootstrap is IMO a convenient way to
> get a default example.

A fair point. But that wasn't the focus of the instructions.
 
> I do not use the installer that often. Following the procedure I can also
> copy a pre-configured system from a usb drive/stick to a pc/server.
> And the bonus is that I do not have to download all the packages again.

Another reasonable justification.

The OP will be along in a while to give his assessment of the suggested
techniques and how they fit his aspirations.

-- 
Brian.



Re: Bootable USB Buster System

2019-10-27 Thread deloptes
Brian wrote:

> Why "someone"? Why not you?
> 

Cause I may not have the time to do so, but of course it can be me.

>> 
>> regards
>> 
>> This is a step by step how to to install debian on a USB stick and
>> make this stick bootable.  The stick in the example is found under
>> /dev/sdb. Change to fit your setup.
> 
> [Clear instructions snipped]
> 
> The installer can be used to install to a USB stick. What disadvantage
> is there in doing that?

There is no disadvantage but perhaps you want to make a copy of your system
to a usb stick or drive, and using debootstrap is IMO a convenient way to
get a default example.

I do not use the installer that often. Following the procedure I can also
copy a pre-configured system from a usb drive/stick to a pc/server.
And the bonus is that I do not have to download all the packages again.

regards



Re: Bootable USB Buster System

2019-10-27 Thread Richard Owlett

On 10/27/2019 03:12 PM, Brian wrote:

""
*!*




Re: Bootable USB Buster System

2019-10-27 Thread Brian
On Sun 27 Oct 2019 at 19:41:12 +0100, deloptes wrote:

> Peter Ehlert wrote:
> 
> > I have tried it, several times, but was unable to get Grub properly
> > installed... not able to boot.
> > I too would like such a tool
>  
> Let me know how it works - perhaps someone could put it on the Debian Wiki
> after refinement.

Why "someone"? Why not you?

> 
> regards
> 
> This is a step by step how to to install debian on a USB stick and
> make this stick bootable.  The stick in the example is found under
> /dev/sdb. Change to fit your setup.

[Clear instructions snipped]

The installer can be used to install to a USB stick. What disadvantage
is there in doing that?

-- 
Brian.



Re: Bootable USB Buster System

2019-10-27 Thread deloptes
Peter Ehlert wrote:

> I have tried it, several times, but was unable to get Grub properly
> installed... not able to boot.
> I too would like such a tool


Let me know how it works - perhaps someone could put it on the Debian Wiki
after refinement.

regards

This is a step by step how to to install debian on a USB stick and make this 
stick bootable.
The stick in the example is found under /dev/sdb. Change to fit your setup.

1. Partition the disk. If you want you can use also crypto_LUKS and LVM

# fdisk -l /dev/sdb

Disk /dev/sdb: 28.9 GiB, 31051513856 bytes, 60647488 sectors
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: 0x93e4092b

Device Boot   Start  End  Sectors  Size Id Type
/dev/sdb1  *   2048  1050623  1048576  512M 83 Linux
/dev/sdb2   1050624 46679687 45629064 21.8G 83 Linux


   The example here will use plain ext4 on two partitions
/dev/sdb1   /boot
/dev/sdb2   /

2. Format the partitions

# mkfs.ext4 /dev/sdb1
# mkfs.ext4 /dev/sdb2

3. mount the partitions

# mkdir /mnt/target
# mount /dev/sdb2 /mnt/target
# mkdir /mnt/target/boot
# mount /dev/sdb1 /mnt/target/boot
# mount
/dev/sdb2 on /mnt/target type ext4 (rw,relatime)
/dev/sdb1 on /mnt/target/boot type ext4 (rw,relatime)

4. Debootstrap Buster to /mnt/target
https://wiki.debian.org/Debootstrap

The log can be monitored after starting debootstrap
tail -1000f  /mnt/target/debootstrap/debootstrap.log

# debootstrap buster /mnt/target/ http://deb.debian.org/debian/
I: Retrieving InRelease
I: Checking Release signature
I: Valid Release signature (key id 
6D33866EDD8FFA41C0143AEDDCC9EFBF77E11517)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: adduser 
debian-archive-keyring fdisk gcc-8-base gpgv libacl1 libapt-pkg5.0 libattr1 
libaudit-common libaudit1 libblkid1 libbz2-1.0 libc6 libcap-ng0 libcom-err2 
libdb5.3 libdebconfclient0 libext2fs2 libfdisk1 libffi6 libgcc1 libgcrypt20 
libgmp10 libgnutls30 libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 
libmount1 libncursesw6 libnettle6 libp11-kit0 libpam0g libpcre3 libseccomp2 
libselinux1 libsemanage-common libsemanage1 libsepol1 libsmartcols1 libss2 
libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libunistring2 libuuid1 
libzstd1 zlib1g
I: Found additional base dependencies: dmsetup libapparmor1 
libapt-inst2.0 libargon2-1 libbsd0 libcap2 libcap2-bin libcryptsetup12 
libdevmapper1.02.1 libdns-export1104 libelf1 libestr0 libfastjson4 libidn11 
libip4tc0 libip6tc0 libiptc0 libisc-export1100 libjson-c3 libkmod2 
liblocale-gettext-perl liblognorm5 libmnl0 libncurses6 libnetfilter-conntrack3 
libnewt0.52 libnfnetlink0 libnftnl11 libpopt0 libprocps7 libslang2 libssl1.1 
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libxtables12 
lsb-base xxd
I: Checking component main on http://deb.debian.org/debian...
I: Retrieving libacl1 2.2.53-4
I: Validating libacl1 2.2.53-4
I: Retrieving adduser 3.118
I: Validating adduser 3.118
I: Retrieving libapparmor1 2.13.2-10
I: Validating libapparmor1 2.13.2-10
I: Retrieving apt 1.8.2
I: Validating apt 1.8.2
I: Retrieving apt-utils 1.8.2
I: Validating apt-utils 1.8.2
[...]
I: Configuring iptables...
I: Configuring tasksel-data...
I: Configuring tasksel...
I: Configuring libc-bin...
I: Configuring systemd...
I: Base system installed successfully.

5. Configure the new system
   When using debootstrap few additional things need to be setup.
   Of course you could have copied your running system or other distribution
   You can skip this step if not using debootstrap

5.1. Chroot

# mount --make-unbindable -obind /proc/ /mnt/target/proc/ 
# mount --make-unbindable -obind /dev/ /mnt/target/dev/ 
# mount --make-unbindable -obind /dev/pts /mnt/target/dev/pts 
# mount --make-unbindable -obind /run /mnt/target/run 
# mount --make-unbindable -obind /sys /mnt/target/sys/ 
# chroot /mnt/target/

5.2. Edit /etc/fstab

prepare the UUIDs of boot and root

# blkid /dev/sdb1
/dev/sdb1: UUID="7e953b17-5f57-4001-b326-70cabdf48abe" TYPE="ext4" 
PARTUUID="93e4092b-01"
# blkid /dev/sdb2
/dev/sdb2: UUID="0d189f21-dc54-416d-8d85-0bb9df8c8f4c" TYPE="ext4" 
PARTUUID="93e4092b-02"

vi /etc/fstab

UUID=0d189f21-dc54-416d-8d85-0bb9df8c8f4c   /   ext4

Re: Bootable USB Buster System

2019-10-27 Thread Richard Owlett

On 10/27/2019 09:31 AM, deloptes wrote:

Richard Owlett wrote:


Would what you do explicitly depend on EFI?
I have a collection of elderly machines, some with only legacy
BIOS.


[snip]
Regarding older hardware, it might be  that the kernel does not support this
or that. You know Debian does not support CPU<=586 and might be that some
drivers are missing, but when you run from the USB, you will know for sure.


With my eclectic hardware, processor type and BIOS are independent 
variables. I do run the i386 flavor of Debian more out of inertia than 
necessity. I believe one important machine has only legacy BIOS. I have 
not considered moving to EFI as I am not aware that it would have any 
personal benefit and time spent on learning curve would be better spent 
elsewhere.


YMMV ;/
Thank you.




Re: Bootable USB Buster System

2019-10-27 Thread Peter Ehlert



On 10/26/19 5:41 PM, songbird wrote:

Peter Ehlert wrote:

I have tried it, several times, but was unable to get Grub properly
installed... not able to boot.
I too would like such a tool

   hmm, i have a booting USB stick of stable (before recent
release so i'm actually one stable back now :) ).  no issues
at all booting from it and i don't recall installing GRUB
to it.

   i use UEFI booting most of the time via refind so i don't
bios boot often, but it does work.

I don't use UEFI, perhaps that is the difference.


   i did a standard install to the USB from the debian
netinst image, put the MATE desktop on it and any
things i wanted on there.  so you can load up any
software packages you want.

   to me i don't really understand LiveImages appeal
if you can just boot a system via USB anyways.  i have
not delved into them for this reason.


   songbird







Re: Bootable USB Buster System

2019-10-27 Thread deloptes
Richard Owlett wrote:

> Would what you do explicitly depend on EFI?
> I don't have a clear idea of what Kenneth described in his original post.
> HOWEVER, having such a system might be worthwhile to explore some of my
> ideas. I have a collection of elderly machines, some with only legacy
> BIOS.

My requirement, I described above, was to prepare a bootable USB from a RHEL
server, which uses EFI. I have done this before many times on Debian
without EFI. I will test this with Buster and post the steps here next.

I use such USB sticks for resque operations or when I need to for example
extend a root partition, or whatever you can imagine.

Regarding older hardware, it might be  that the kernel does not support this
or that. You know Debian does not support CPU<=586 and might be that some
drivers are missing, but when you run from the USB, you will know for sure.

regards



Re: Bootable USB Buster System

2019-10-27 Thread Richard Owlett

On 10/27/2019 04:27 AM, deloptes wrote:

Tom Browder wrote:


That would be great! As usual, the Devil is in the details!


well, it is not a rocket science as shown above - I'll post here this
evening or tomorrow. I need to redo this on the debian system and see if
there are some differences



Would what you do explicitly depend on EFI?
I don't have a clear idea of what Kenneth described in his original post.
HOWEVER, having such a system might be worthwhile to explore some of my 
ideas. I have a collection of elderly machines, some with only legacy BIOS.


Thank you.





Re: Bootable USB Buster System

2019-10-27 Thread deloptes
Tom Browder wrote:

> That would be great! As usual, the Devil is in the details!

well, it is not a rocket science as shown above - I'll post here this
evening or tomorrow. I need to redo this on the debian system and see if
there are some differences



Re: Bootable USB Buster System

2019-10-26 Thread songbird
Peter Ehlert wrote:
> I have tried it, several times, but was unable to get Grub properly 
> installed... not able to boot.
> I too would like such a tool

  hmm, i have a booting USB stick of stable (before recent
release so i'm actually one stable back now :) ).  no issues
at all booting from it and i don't recall installing GRUB
to it.

  i use UEFI booting most of the time via refind so i don't
bios boot often, but it does work.

  i did a standard install to the USB from the debian
netinst image, put the MATE desktop on it and any 
things i wanted on there.  so you can load up any
software packages you want.

  to me i don't really understand LiveImages appeal
if you can just boot a system via USB anyways.  i have
not delved into them for this reason.


  songbird



Re: Bootable USB Buster System

2019-10-26 Thread songbird
Brian wrote:
...
> Would you please explain what you mean by "...leaving any Local Hard
> Drives alone."?

  i would assume that booting from a USB device which
only mounts that device and none of the hard drives
unless they are specified in the fstab of the USB system's
/etc

  other standard temporary fs like run and tmp could 
possibly be set up if needed.


  songbird



Re: Bootable USB Buster System

2019-10-26 Thread Tom Browder
On Sat, Oct 26, 2019 at 12:52 deloptes  wrote:

> deloptes wrote:
>
...
>
> Rebooted and voila it works.
> >
> > regards
>
> Perhaps I should write a howto as I see +1 interested


That would be great! As usual, the Devil is in the details!

Best regards,

-Tom


Re: Bootable USB Buster System

2019-10-26 Thread deloptes
deloptes wrote:

> Just did this yesterday on a RHEL server - it actually doesn't matter what
> linux is there. It all works the  same way.
> 
> I used EFI so I setup GPT and created the 3 partitions marking the first
> (EFI) as bootable.
> Format all as required and mount for example
> mount /dev/sdd2 /mnt/target
> mount /dev/sdd1 /mnt/target/boot/efi
> mount /dev/sdd3 /mnt/target/home
> 
> After this I copied all the required content to those partitions.
> Adjust the /etc/fstab (use UUIDs - this is the most important part)
> 

Perhaps I should add that I usually debootstrap debian at this step.

> blkid /dev/sda1 etc to get the UUID
> 
> Run grub-install --root --boot-efi ... /dev/sdd and so on.
> 
> Double check /mnt/target/boot/grub.conf it must have your root UUID
> Double check /mnt/target/boot/efi/EFI/redhat/grub.conf it must have your
> root UUID
> 

don't know how it looks like with debian and EFI - it is still on my todo
list

> Rebooted and voila it works.
> 
> regards

Perhaps I should write a howto as I see +1 interested



Re: Bootable USB Buster System

2019-10-26 Thread Brian
On Sat 26 Oct 2019 at 12:33:52 -0400, Kenneth Parker wrote:

> Hello,
> 
> What I want,  is almost there (put a Live Buster DVD on a USB Drive), but
> I'm hoping for more.
> 
> I'd like to format my USB Drive into, at least three Partitions, preferably
> using msdos Partitioning (so it can Boot from older systems).  The
> Partitions are Root, Swap and Home.  So far, so good, I've done this
> before.
> 
> What is different this time, is that I'd like to be able to Boot this from
> different Systems, probing their Network, Sound, Video, Keyboard and Mouse
> systems on Bootup, but leaving any Local Hard Drives alone.  Existing
> systems do this, for example, Knoppix, but it's doing a "Mini Install" each
> time.  I'd like to, only have the Hardware testing, but not the rest of the
> Install occurring.  Also, this allows me to have Static Data (i.e Logs),
> saved from System to System.  Sort of like a "Super Rescue System".

Would you please explain what you mean by "...leaving any Local Hard
Drives alone."?

> Are you with me so far?  Have people done this?

I think I have so.

-- 
Brian.



Re: Bootable USB Buster System

2019-10-26 Thread Peter Ehlert
I have tried it, several times, but was unable to get Grub properly 
installed... not able to boot.

I too would like such a tool

On 10/26/19 9:33 AM, Kenneth Parker wrote:

Hello,

What I want,  is almost there (put a Live Buster DVD on a USB Drive), 
but I'm hoping for more.


I'd like to format my USB Drive into, at least three Partitions, 
preferably using msdos Partitioning (so it can Boot from older 
systems).  The Partitions are Root, Swap and Home.  So far, so good, 
I've done this before.


What is different this time, is that I'd like to be able to Boot this 
from different Systems, probing their Network, Sound, Video, Keyboard 
and Mouse systems on Bootup, but leaving any Local Hard Drives alone.  
Existing systems do this, for example, Knoppix, but it's doing a "Mini 
Install" each time.  I'd like to, only have the Hardware testing, but 
not the rest of the Install occurring.  Also, this allows me to have 
Static Data (i.e Logs), saved from System to System. Sort of like a 
"Super Rescue System".


Are you with me so far?  Have people done this?

Thank you in advance.

Kenneth Parker




Re: Bootable USB Buster System

2019-10-26 Thread deloptes
Kenneth Parker wrote:

> What is different this time, is that I'd like to be able to Boot this from
> different Systems, probing their Network, Sound, Video, Keyboard and Mouse
> systems on Bootup, but leaving any Local Hard Drives alone.  Existing
> systems do this, for example, Knoppix, but it's doing a "Mini Install"
> each time.  I'd like to, only have the Hardware testing, but not the rest
> of the Install occurring.  Also, this allows me to have Static Data (i.e
> Logs), saved from System to System.  Sort of like a "Super Rescue System".
> 
> Are you with me so far?  Have people done this?
> 
> Thank you in advance.
> 
> Kenneth Parker

Just did this yesterday on a RHEL server - it actually doesn't matter what
linux is there. It all works the  same way.

I used EFI so I setup GPT and created the 3 partitions marking the first
(EFI) as bootable. 
Format all as required and mount for example 
mount /dev/sdd2 /mnt/target
mount /dev/sdd1 /mnt/target/boot/efi
mount /dev/sdd3 /mnt/target/home

After this I copied all the required content to those partitions.
Adjust the /etc/fstab (use UUIDs - this is the most important part)

blkid /dev/sda1 etc to get the UUID

Run grub-install --root --boot-efi ... /dev/sdd and so on.

Double check /mnt/target/boot/grub.conf it must have your root UUID
Double check /mnt/target/boot/efi/EFI/redhat/grub.conf it must have your
root UUID

Rebooted and voila it works.

regards



Re: Bootable USB Buster System

2019-10-26 Thread Joe
On Sat, 26 Oct 2019 12:33:52 -0400
Kenneth Parker  wrote:

> Hello,
> 
> What I want,  is almost there (put a Live Buster DVD on a USB Drive),
> but I'm hoping for more.
> 
> I'd like to format my USB Drive into, at least three Partitions,
> preferably using msdos Partitioning (so it can Boot from older
> systems).  The Partitions are Root, Swap and Home.  So far, so good,
> I've done this before.
> 
> What is different this time, is that I'd like to be able to Boot this
> from different Systems, probing their Network, Sound, Video, Keyboard
> and Mouse systems on Bootup, but leaving any Local Hard Drives alone.
>  Existing systems do this, for example, Knoppix, but it's doing a
> "Mini Install" each time.  I'd like to, only have the Hardware
> testing, but not the rest of the Install occurring.  Also, this
> allows me to have Static Data (i.e Logs), saved from System to
> System.  Sort of like a "Super Rescue System".
> 
> Are you with me so far?  Have people done this?
> 

I always understood that Knoppix and other live CDs/DVDs didn't touch
the host drive(s) at all, unless you specifically requested a hard-drive
installation.

I did something like this a few years ago. I had a very small USB hard
drive (with the USB actually on the drive PCB, they don't make them any
more) with an i386 installation, 'include all drivers', and it would
boot on practically any PC. It was a normal Debian system, so saving
logs and stuff was automatic. I won't swear that it drove all the
hardware, but I never noticed a problem.

-- 
Joe



Bootable USB Buster System

2019-10-26 Thread Kenneth Parker
Hello,

What I want,  is almost there (put a Live Buster DVD on a USB Drive), but
I'm hoping for more.

I'd like to format my USB Drive into, at least three Partitions, preferably
using msdos Partitioning (so it can Boot from older systems).  The
Partitions are Root, Swap and Home.  So far, so good, I've done this
before.

What is different this time, is that I'd like to be able to Boot this from
different Systems, probing their Network, Sound, Video, Keyboard and Mouse
systems on Bootup, but leaving any Local Hard Drives alone.  Existing
systems do this, for example, Knoppix, but it's doing a "Mini Install" each
time.  I'd like to, only have the Hardware testing, but not the rest of the
Install occurring.  Also, this allows me to have Static Data (i.e Logs),
saved from System to System.  Sort of like a "Super Rescue System".

Are you with me so far?  Have people done this?

Thank you in advance.

Kenneth Parker