Help about BusterDog debian

Me2019H

Registered
Messages
101
Hello,
There was a thread here on this forum about how to deal with BusterDog. @cayoenrique brought it up, but I don't know why the thread was deleted!!

Now I want how to create a save folder ?
 

cayoenrique

Member
Messages
475

Me2019H​

Yes all my tutorials for newbies are gone.
Do not know what happened to forum? Nor why only 6 threads are left, most before 2018!!

Listen as I been gone, it seems I lost some of my skills.
Now Linux is fine with me. Please explain better what you need? "deal with BusterDog"

The way I work with BusterDog or any Linux is running it as a Puppy Linux. I do not use Ubuntu or any other main Default OS. As why ? Because all those Installations will fill your PC with garbage that will bug us and still resources from us. And yes I some what end up with a Linux that is ReadONLY for the most part. Plus a SAVE File/Folder to store our daily changes. I usually create a 4 GB SAVE File. The advantage is that for backup porpose you ONLY need to take care of a 4GB file. So your back up and restore end up to very limited down time. Example: My BusterDog breaks. I then copy the old SAVE file to a Backup external disk, proceed to delete the Save File in PC and finally Copy an OLD Backup Save file previous of the bad OS. I do all in 5 minutes or less, and have restore my Linux.

Now I do not remember what instructions I wrote here. Or what are you following. Tell me and I will explain what next. Hope to hear from you soon.
 

Me2019H

Registered
Messages
101
Hello cayoenrique the Linux advisor As the forum has given you this name before but i don't know why YOU become a new member!! what heppened this is what i want to know and why they deleted all your lessons ?

Never mind

I burned BusterDog with Rufus software in my FlashDisk but i tried several times to save daily changes but i can't
What i want is how do you save the daily changes in Folder and how do you copy an old Backup Save file?

Please prepare a video explaining the process of saving the folder and how to restore it in case there is a problem with the OS
 

cayoenrique

Member
Messages
475
What file Debian Buster image are you using? Did you use MakeLive?

What type of PC are you going to use? W10 and W11 do not like to share with Linux OS. But it can be done.

To learn basics. it is BEST is to use a SPARE / UNIMPORTANT OLD PC. This way if you break it, no problem. It can be an old PC or Laptop without hardisk. We can just run from USB Flash memory.

You said you already have 1 USB created with Rufus. This is fine to start and learn, But be aware that this USB is treated as equal as CD-ROM. Can not write to it!!! I know how stupid! It is becose you just places a CD Image on it.

Now there are ways to go around this Initial problem.

For now get your self a new extra USB to create a file system that is bootable and writable. Or if you respond you have extra OLD PC with HDD the we install in HDD instead. We can share with WIN7 very easy if needed. W10/11 is a little more complicated
 
Last edited:

Me2019H

Registered
Messages
101
I have Laptop with windows7 OS but I run (BusterDog-openbox_jwm-2020-09-07_64-bit-UEFI.iso) from USB Flash memory and the HDD still connectedW
Give me the operating system you are working on


i take screenshot on pc

 

cayoenrique

Member
Messages
475
Me2019H
Please read [Myths and conspiracy vs security and hacking]

From image it seems

SDA1 C:
SDA2 D:
SDA3 E:
SDB1 FlashDisk ISOIMAGE

And you can see that BusterDog is running from as live is mounted as "/mnt/live/mnt/sdb1"

I will assume Windows7 is at SDA1. Please confirm.

In any case do the following
Code:
sudo apt update
sudo apt install parted tree
sudo parted -l

And post the output of "sudo parted -l"
 

Me2019H

Registered
Messages
101
I will assume Windows7 is at SDA1. Please confirm.

Yes the SDA1 is the partition C:\ which contains the Windows 7,You are right
And post the output of "sudo parted -l"


Code:
root@live:~#  parted -l
Model: ATA WDC WD10JPVX-75J (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size   Type     File system  Flags
 1      32.3kB  106MB   106MB  primary
 2      106MB   199GB   199GB  primary  ntfs         boot
 3      199GB   1000GB  801GB  primary


Model: ADATA USB Flash Drive (scsi)
Disk /dev/sdb: 8103MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  8103MB  8102MB  primary  ntfs         boot


root@live:~#
 

cayoenrique

Member
Messages
475
That is interesting for SDA we have
Code:
 1      32.3kB  106MB   106MB  primary
 2      106MB   199GB   199GB  primary  ntfs         boot
 3      199GB   1000GB  801GB  primary

This means;
SDA1 is only 106MB. So Windows7 is not in it. This may be a some sort of windows protective area or UEFI.
SDA2 is where Windows7 reside as you can see it has "boot" flag. Under windows SDA2 is in fact C:
SDA3 does not show File system!!! This 801GB may not be formated? Now the question is where is D: and E:!!!

Just ignore this for now.
 
Last edited:

cayoenrique

Member
Messages
475
To be honest I was preparing to explained you how to use "extlinux". This I can teach you latter.

But looking at the image I see a folder called "changes.dat". This is Interesting as if the image was type dd it should had been "READONLY" just as a CDROM. But as you had created "changes.dat" this only means you did in fact created as ISO Image.

To be sure you can do
Code:
df -h
and you should get something like "/dev/sdb1 7.5G 3.3G 4.2G 44% /media/sdb1"
meaning it has free space. Assuming it has free space let me explain how to create a valid "change.dat" of size 3000MB or 3GB.

Put USB and restart PC to BusterDog
Once Running go to [Menu]>DDOG Special>Create Savefile
A new window popup then select 1rst item "Create or use Save File" Hit [OK]
A new Window popup
Savefile Size 3000
Leave the rest untouched. Hit [OK]
A new window popup informing what will be happening, Hit [OK]
In a slow 8G USB took about 3 minutes for the 3GB
A new file was created in: "sdb1/live/change.dat"

Now restart PC. When boot select 1st option. the one that read "change.dat"
Now you have a 3GB save file.

You could do
Code:
sudo cat /var/log/porteus-livedbg | grep -i -e"change"
# Changes are stored in:
/mnt/sdb1//live/changes.dat/changes

And that is it.

Hope it helps
 

Me2019H

Registered
Messages
101
Thank you very much for helping me

i re-burn the OS with Rufus , system file fat32 it is working fine now and i saved the file in /mnt/sdb1/live/changes.bat(y)

When i switch on the pc this list that is displayed

1-BusterDog Always Fresh"
2-BusterDog changes=/buster_dog , save to folder
3-BusterDog changes=/buster_dog save to file
4-Shutdown
5-Reboot

i have two choice s
i always choose the third option isn't it?

my problem is why every time before i select the third choice i click on E to edit the file manualy(from=/ noauto changes=/mnt/sdb1/live/changes.dat) ?
i will change the grub file in boot Folder and i see
save to folder option what we save ? the file "Changes.dat"!!
when we choose the
1-BusterDog Always Fresh"

BTW which Internet Explorer you use?
 

cayoenrique

Member
Messages
475
I will make a test and properly respond your questions. For now let me tell you.

BTW which Internet Explorer you use?
Any you like. I do not know what is best! But I do not like google. I like original, 10 years back, Firefox, So I may sugest a copy cat named Palemoon.

Now There only a few Master Linux where the rest 99% use as a core. For example Most used Ubuntu is in fact Debian base.

BusterDog is in fact Debian base. So you should have all options provided by Debian.

When you search for answer you Google by adding "Debian" in the search. That answare most likely will work.

If you tell others that you use BusterDog, they will laughs at you. BusterDog even when is base on Debian just like Ubuntu is considered a Toy Linux OS . Because the booting process and user as root is base in Puppy Linux. From this point you are a Renegade as you do not follow the rules.

With time and Secretly, Debian had copy the boot process. And now offer you the advantage to have you OS in Squash or ISO form (Read ONLY). And they added the option to have a Save Folder called Persitance. So you can have a MAIN Linux OS, Debian, And run it Read ONLY with Save folder for daily changes. But for the most part this is unknown for most users.
 

cayoenrique

Member
Messages
475
Me2019H
I do not clearly understand why you try to edit and save menus. I will ignore that for know.

Under normal circumstances Rufus Install with syslinux Menus. I do not understand why you USB is using Grub2 menu. My best guess is that is because you have another Linux Installed inside your PC. Or because you PC needs UEFI.
Now it is not important what you use. But you need to know what is been used in order to modify the correct menu.

The Original Image have this files:
Code:
boot
EFI
efiboot.img
Examples-boot-codes.txt
grldr
grub.cfg
isolinux
live
menu.lst
ReadMe-UEFI
Readme-weeinst
weeinst
wee.mbr

Rufus added:
Code:
autorun.ico
autorun.inf
isolinux
ldlinux.sys
syslinux.cfg

You can tell your PC to start with USB Boot, If selected on BIOS. That is what I have. Then Rufus as I show makes syslinux to boot using "/syslinux.cfg". If you look in this config it tells to ignore this an look for "/isolinux/isolinux.cfg" that force to includes:
/isolinux/menu.cfg
/isolinux/vesamenu.c32
/isolinux/stdmenu.cfg
/isolinux/live.cfg

Ignore all as they only are use for Coloring the background. The Real Menu is /isolinux/live.cfg

And you can see that includes ONLY 4 menu Items
Code:
label Buster-Porteus-boot changes=/live/changes.dat
kernel /live/vmlinuz1
append initrd=/live/initrd1.xz noauto from=/ copy2ram changes=/live/changes.dat

label Buster-Porteus-boot Always Fresh
kernel /live/vmlinuz1
append initrd=/live/initrd1.xz from=/ nomagic base_only norootcopy

label Buster-live-boot-3 in RAM persistence
kernel /live/vmlinuz1
append initrd=/live/initrd.img boot=live persistence config noeject union=aufs quickreboot toram=01-filesystem.squashfs

label Buster-live-boot-3 (no save)
kernel /live/vmlinuz1
append initrd=/live/initrd.img boot=live config swapon noeject quickreboot union=aufs

In you case I belive Boot Start in Internal HDD. Because you installed another Linux it in fact boot with Grub2 not isolinux as before. So Your Grub2 inside HDD, see that in the USB you have /grub.cfg and use this Menu config Instead.
/grub.cfg in the USB has inside this
Code:
loadfont /boot/grub/font.pf2

# https://help.ubuntu.com/community/Grub2/Displays
color_normal=cyan/black
#menu_color_highlight=black/light-gray
menu_color_highlight=yellow/red
menu_color_normal=light-gray/black

menuentry "BusterDog Always Fresh" {
linux /live/vmlinuz1 noauto from=/ nomagic base_only norootcopy 
initrd /live/initrd1.xz
}

menuentry "BusterDog changes=/buster_dog , save to folder" {
linux /live/vmlinuz1  from=/ noauto changes=/buster_dog video=SVIDEO-1:d 
initrd /live/initrd1.xz
}

menuentry "BusterDog changes=/buster_dog save to file" {
linux /live/vmlinuz1  from=/ noauto changes=/buster_dog/changes.dat 
initrd /live/initrd1.xz
}

menuentry "Shutdown" {
	halt
}

menuentry "Reboot" {
	reboot
}
 

cayoenrique

Member
Messages
475
I do not know much on Grub2 menus. But Here is what I think. Yes know I understand why you are correcting. Because that /grub.cfg is wrong. Here is what to do.

In USB, make a copy and save as /grub.cfg.back
Now edit /grub.cfg and change it to:
Code:
loadfont /boot/grub/font.pf2

# https://help.ubuntu.com/community/Grub2/Displays
color_normal=cyan/black
#menu_color_highlight=black/light-gray
menu_color_highlight=yellow/red
menu_color_normal=light-gray/black

menuentry "BusterDog Always Fresh" {
linux /live/vmlinuz1 noauto from=/ nomagic base_only norootcopy 
initrd /live/initrd1.xz
}

menuentry "BusterDog changes=/live , save to folder" {
linux /live/vmlinuz1  from=/ noauto changes=/live video=SVIDEO-1:d 
initrd /live/initrd1.xz
}

menuentry "BusterDog changes=/live save to file" {
linux /live/vmlinuz1  from=/ noauto changes=/live/changes.dat 
initrd /live/initrd1.xz
}

menuentry "Shutdown" {
	halt
}

menuentry "Reboot" {
	reboot
}

Beware that second option will NOT work anyway is there for resfersnce. Well you can partition USB with an extra ext3 and then use that partition. As is It will not work because USB is FAT32. You can also Format USB as ext3 and then you could use it as folder.

remember For me Save File is better as for backup I only need to copy/replace this. Yes on 1rst month after you install all what you need 3GB will not be enough. Then you need to remaster OS /live/01-filesystem.squashfs and you then crate a new empty 3GB save folder.
 
Last edited:

cayoenrique

Member
Messages
475
I am backing up 20 GB in a slow PC so I have time to chitcat.
Why a BusterDog?
I guess @Me2019H like DebianDog to have an easy to backup and restore Linux OS. I discussed this on old lost SU thread.
Why Buster well is the current LTS see
Code:
https://wiki.debian.org/LTS

In general if you are a Rule Follower witch love the Update Security thing, then this is not for you. This is build on a Puppy Linux strategy.

Links you will love to have.

Forum Thread BusterDog + build system (no-systemd)
Code:
https://www.forum.puppylinux.com/viewtopic.php?t=87

Quick description and Download area at github
BusterDog + build system
Code:
https://github.com/DebianDog/BusterDog

Now for a quick experience @Me2019H downloaded
Code:
Update 2020-09-07, 64-bit ISO now with UEFI support
Iso 64 bit: BusterDog-openbox_jwm-2020-09-07_64-bit-UEFI.iso Size: 345MB Md5sum

Now this is build with a lot of extra software that I personally do not like. And the OS is build using XFCE4 and JWM window-manager.

I like the look and feel of LXDE - Lubuntu. In fact I do not like LXDE, just the LXDE APPS. I I like Openbox window manager.

To get the Buster dog the way I like I use instead the make-buster program. witch is part of the Busterdog build system
Code:
https://debiandog.github.io/MakeLive/Readme-build-busterdog.html

At the end of that page is the script I used
mklive-buster
Code:
https://debiandog.github.io/MakeLive/mklive-buster

Now before any of you go and try. let me tell you that at the moment there is a small issue. Debian stop providing Linus Header for kernels below 4.19.0-20-amd64 and that build is base on 4.19.0-17-amd64. This is a small issue that may only require from any one of us to ask the author to build us a new up to date special kernel.

At the moment I am using 4.19.0-19-amd64 you can get it at
Code:
https://github.com/DebianDog/BusterDog/releases/download/v0.2/k-4.19.0-19-amd64.tar.gz

I will post my copy of the headers here so you have a way to build new drivers. But in the future just get the new kernel from busterdog

Here as an easy to load squashfs module
60-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs (11.48 MB)
Code:
https://workupload.com/file/hZTtvPLV783

Or you can manually install headers with this debs
linux-headers-4.19.0-19_debs.tar.xz (9.51 MB)
Code:
https://workupload.com/file/Kq8hvZ2PQaj

Since this can be critical I am giving yo the md5sum for you to cheak after doenload
Code:
02979b478cd474c8fd354e1412afb19a  ./linux-headers-4.19.0-19_debs.tar.xz
b6d27e34b238a6c277729dd1c9fb1528  ./60-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs
 
Last edited:

Me2019H

Registered
Messages
101
Hello,
"Run the build on a Linux filesystem (ext2 ext3 ext4) not on FAT or NTFS , with at least 3GB free space"

is this mean the Updated 2023-06-04 mklive-buster after burning an iso file on a Linux filesystem (ext2 ext3 ext4) because i burned it on flashdisk on FAT with Rufus

 

cayoenrique

Member
Messages
475
@all
linux-headers-4.19.0-19_debs.tar.xz (9.51 MB) are fine, just a copy I save before Debian removed them.

Now I made a mistake in:
60-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs (11.48 MB)
For reasons I can not explained one of the debs is missing. So I edited and add the missing info.

This is the complete one.
62-linux-headers-4.19.0-19-amd64_4.19.232-1_amd64.squashfs (9.91 MB)
Code:
https://workupload.com/file/wuZTSdChaQx

Yes I know file is smaller but have more stuff. It is because this time I use xz instead of gzip.

You ONLY need this files if you find your self with a need to build a driver.
If you want ONLY to try it out, then the best is to download the OS already build from github.
 
Last edited:

cayoenrique

Member
Messages
475
@Me2019H

Post #15 is a GENERAL post to ALL. I had time to write something while I was waiting a big backup on a very very old PC.
The intention was to tell ALL where to look at the OS you are working on. I will continue with you in the other thread,
 
Top