-
And I have no floppy drive on my ladtop...
-
...but you know about the option to run KPH directly from the CD without the floppy?
If KPH will be included in future versions of KNOPPIX (and this seems to be BIG point for many people - at least when i look at my email inbox) it will behave exactly like this (except knoppix.sh will be renamed).
Matthias
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
Schwarze
...but you know about the option to run KPH directly from the CD without the floppy?
If KPH will be included in future versions of KNOPPIX (and this seems to be BIG point for many people - at least when i look at my email inbox) it will behave exactly like this (except knoppix.sh will be renamed).
Matthias
The only option I know of is to rebuild the knoppix cd with persistant home's knoppix.sh. Is there another way?
Also, along the lines of the .root file, what about profiles? I may want things more specific on a certain computer on the local lan, but I may want a different setup for any general computer I may "take over" on the road. As far as seperate .root directories go, there could just be links to the items that want to be kept (such as installed programs and their libraries) while allowing knoppix to build its own (such as /etc/fstab, X, etc).
-
If think I have found the simple way to install some application ..
but i have still a little pb !!
the command I'd used are :
lndir /KNOPPIX/usr /mnt/hda2/install_dir
mount --bind /mnt/hda2/install_dir /usr
but the problem is that I can not access to much of applications after ...
Why ?? /KNOPPIX/usr is different from /usr or is something bad on command ..?
So I return to my try .. and doc yeap MAN PAGE !!!! I love IT LOL ![Wink](images/smilies/icon_wink.gif)
__________________________________________________ ___________
Un lilliputien en délire ....
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
lilliput
If think I have found the simple way to install some application ..
but i have still a little pb !!
the command I'd used are :
lndir /KNOPPIX/usr /mnt/hda2/install_dir
mount --bind /mnt/hda2/install_dir /usr
but the problem is that I can not access to much of applications after ...
Why ?? /KNOPPIX/usr is different from /usr or is something bad on command ..?
So I return to my try .. and doc yeap MAN PAGE !!!! I love IT LOL
__________________________________________________ ___________
Un lilliputien en délire ....
It doesn't appear that you have really done anything different. Currently /usr is just linked to /Knoppix/usr. What you did was create a link to /Knoppix/usr, mounted it in a different directory and then remounted it as /usr. The only way the above would work (with persistent home) would be if you had enough hard drive space to do something like this:
mkdir /home/knoppix/.root
cp -R /Knoppix/usr /home/knoppix/.root/
mount --bind /home/knoppix/.root/usr /usr
However /usr is huge and it would seem you would need a VERY large usb pen drive to do it this way. Now if you could install a program chroot /home/knoppix/.root then have the system be able to check there first then goto /, I think that would be more efficient. This is easily done via the PATH statement as long as it is checked first for executables, however, where I get lost are things like lib, etc and other crucial directories and links, especially if you have to add a module to the kernel (such as for a winmodem.)
-
no because lndir create just a link so nott very big !!
-
the link is your problem though! Lets call /Knoppix/usr = K, /usr = u and your new mount in /mnt = m.
Your approach:
K > (link) m > u
Knoppix approach
K > u
outside of the extra step, there is no difference. Both eventually link back to K. The reason you have problems with installing is the inability to overwrite links, especially those further down the directory. For instance, if only the file is linked, that file can be deleted and you can replace it with a file of your own. However, if a whole directory is linked and you have to go down a directory or two to get to your file. You cannot delete that file because once you entered the linked directory (in this case /usr linked to /Knoppix/usr), you are being actually sent to the /Knoppix/usr directory on the read-only cdrom. Even your redirect does not change this.
-
I solve my pb by ..
mkdir /mnt/hda2/usr
lndir /KNOPPIX/usr /mnt/hda2/usr
rm -f /usr
ln -s /mnt/hda2/usr /usr
But you were rigth my /mnt/hda2/usr is enough heavy 106M I think thats because there is too much little file and "format" with good option would be better.
But what do you offer to get it ??
-
I mean for a better solution ..
-
Ok I found a solution to install *.deb;
___________
dpkg -x name.deb ~./root
___________
and for compile a src ..
./configure --prefix=~./root
make
make install
___________
it was enough simple .. !!
so now we have to look for the /etc ..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![MSI Z490-A PRO LGA1200 Intel 10th Gen USB3.2 Gen2 ATX Motherboard picture](/store/img/hy8AAOSwjsBmmuki/s-l225//MSI-Z490-A-PRO-LGA1200-Intel-10th-Gen-USB3-2-Gen2-.jpg)
MSI Z490-A PRO LGA1200 Intel 10th Gen USB3.2 Gen2 ATX Motherboard
$66.99
![GIGABYTE B450M DS3H WIFI (AMD Ryzen AM4/M.2/HMDI/DVI/USB 3.1/DDR4 Motherboard picture](/store/img/oaoAAOSwl2RkUzG5/s-l225//GIGABYTE-B450M-DS3H-WIFI-AMD-Ryzen-AM4-M-2-HMDI-DV.jpg)
GIGABYTE B450M DS3H WIFI (AMD Ryzen AM4/M.2/HMDI/DVI/USB 3.1/DDR4 Motherboard
$64.99
![ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture](/store/img/FhQAAOSwzL9iDqc3/s-l225//ASUS-H110M-R-Motherboard-Intel-6th-7th-Gen-LGA1151.jpg)
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
![Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard w/ I/O Plate picture](/store/img/lIMAAOSwF5BmkHwt/s-l225//Gigabyte-GA-Q170M-D3H-GSM-LGA1151-DDR4-Desktop-Mot.jpg)
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard w/ I/O Plate
$49.99
![Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture](/store/img/MIEAAOSwj61mmkfY/s-l225//Asus-Prime-H310M-A-R2-0-Intel-LGA-1151-DDR4-Deskto.jpg)
Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard
$54.99
![Asus Prime H570-PLUS LGA1200 ATX Motherboard | Fast Ship, US Seller picture](/store/img/sUsAAOSw2~dloH2z/s-l225//Asus-Prime-H570-PLUS-LGA1200-ATX-Motherboard-Fast-.jpg)
Asus Prime H570-PLUS LGA1200 ATX Motherboard | Fast Ship, US Seller
$64.97
![ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture](/store/img/oXIAAOSwCn1k30lD/s-l225//ASRock-B550M-Pro-SE-AM4-DDR4-SATA-6Gb-s-1-PCIe-4-0.jpg)
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
![Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready) picture](/store/img/v2sAAOSwFuxlhzOj/s-l225//Asus-Prime-A320M-K-mATX-AM4-Motherboard-Ryzen-1000.jpg)
Asus Prime A320M-K mATX AM4 Motherboard (Ryzen 1000-5000 Ready)
$49.99
![ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX picture](/store/img/sjQAAOSw8blmdbCX/s-l225//ASUS-B85M-E-Motherboard-Intel-B85-4th-Gen-LGA1150-.jpg)
ASUS B85M-E Motherboard Intel B85 (4th Gen) LGA1150 DDR3 microATX
$39.99
![ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI picture](/store/img/gR8AAOSwhlJkracH/s-l225//ASUS-PRIME-Z690-P-WIFI-D4-ATX-Motherboard-Intel-LG.jpg)
ASUS PRIME Z690-P WIFI D4 ATX Motherboard Intel LGA1700 DDR4 HDMI
$99.99