Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Frugal and installing packages, I need help installing packages< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 22 2006,01:25 QUOTE

Do you mean you don't want to use a frugal install at all?  It's unclear what you want exactly...

But if you do mean this, I suppose you could enter sdXx under the hd-install scripts, or something along those lines.  Tbh though, DSL frugal installs are the way to go.
Back to top
Profile PM 
Technoman Offline





Group: Members
Posts: 6
Joined: July 2006
Posted: July 22 2006,03:35 QUOTE

All right, for clarity I will spell out exactly what I am hoping for including what I've already accomplished.

I want my 1Gb flash drive to be bootable  :D
I want my flash drive to also support embedded  :D
I want the embedded and boot image to refer to the same thing so changes in one location are reflected in the other  :)
I want my files, apps, installs, everything to be saved on the flash drive and be available to either system whether it be booted or embedded. Preferrably without requiring backup/restore or the like but I'll take what I can get.  :(

Emoticons represent amount of progress I've made in getting my goals accomplished.

Current issue as I understand it:
When using backup/restore to port files and settings from boot/qemu, Qemu looks for backups in harddisk which shows up as hdb and not on the root of the flashdrive.

Solution: Got to figure out how to set qemu to store and read the flashdrive instead of a file. If I can get that then DSL will save settings and files in embedded mode that can easily be accessed by booted mode.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 22 2006,06:29 QUOTE

I'm just gonna paste my first google link...

http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

Its for windows, but I'm pretty sure its similar for the linux script.
Back to top
Profile PM 
Technoman Offline





Group: Members
Posts: 6
Joined: July 2006
Posted: July 22 2006,17:54 QUOTE

You, sir, are awesome! I had searched through the qemu pages but not that one. It's still a bit buggy but it will serve my purposes quite well.

For those who want the dual boot and embedded system. This is what my dsl-windows.bat file looks like after much tweaking and testing:
Code Sample

REM Start qemu on windows.
@ECHO OFF

START qemu\qemu.exe -L qemu/ -no-kqemu -m 128 -soundhw sb16 -localtime -kernel linux24 -initrd minirt24.gz -hda

KNOPPIX/knoppix -hdb \\.\PhysicalDrive1 -append "qemu sb=0x220,5,1,5 frugal quiet modules=hdb noscsi nofirewire nousb

atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce restore=hdb1"

CLS
EXIT

A note that the bug I mentioned is one for qemu and the host operating system. In this case, when DSL creates backup.tar.gz on the flashdrive, windows sees a file but the data is not linked to the file. Thus, the file is said to be corrupt and can't be opened or even loaded back into qemu. This problem is the reason I didn't just set hda to be the flashdrive itself. It needs to have the image and ramdisk "buffering" to prevent fatal errors. So the bug is that you can only backup/restore once in embedded mode per host OS reboot, but you can do it as much as you want in booted mode.

Now to get my network cards recognized in bootable mode and we'll be cooking with gas!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 22 2006,19:57 QUOTE

That's an interesting bug...  what happens if you unplug and replug the usb?
Back to top
Profile PM 
10 replies since July 18 2006,19:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Frugal and installing packages

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code