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
 

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

reply to topic new topic new poll
Topic: Howto get rid of hdb in QEMU, Get rid of hdb in DSL 3.1< Next Oldest | Next Newest >
aptenikhil Offline





Group: Members
Posts: 12
Joined: Dec. 2006
Posted: Jan. 22 2007,07:46 QUOTE

Hi all,
I am using embedded DSL 3.1. It stores the contents of the /home/dsl directory in /dev/hdb (maybe harddisk under qemu directory, I am not much sure about it.) when DSL is shutting down. And it loads back the contents of the /home/dsl directory from the /deb/hdb into the RAM. This helps in saving the /home/dsl directory contents across multiple boot sesstions.
I want the DSL to boot with some default contents (this i should decide) of the /home/dsl directory. It should not store/ load any data (obviously other than required system files) from the hard disk.
In dsl-windows.bat i removed the -hdb option, this time it boots but it needs the X-server settings to be done.
How can i remove hdb totally and still have the x-server settings intact?  
Thanks in advance!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 22 2007,14:15 QUOTE

This is typical of any frugal installation: please see backup/restore, and persistence.
Back to top
Profile PM 
aptenikhil Offline





Group: Members
Posts: 12
Joined: Dec. 2006
Posted: Jan. 24 2007,06:15 QUOTE

Hello,
I didnt get much from the persistence page on the DSL wiki. They just say how to backup/restore files and maintain the persistence.
But my requirement is something different.

I dont want any backup/restore. I want to remove the hdb thing in dsl-windows.bat and also the ide2.

When i did so then if i boot dsl by clicking dsl-windows.bat file then everytime it asks for the X configuration i.e. keyboard, mouse, resolution, color-depth etc, I want the dsl to boot with my settings and dont ask for it.
I also want dsl to run my program after startup and not popup the dillo. For this what i tried is i created a KNOPPIX image with the modified .xinitrc file, which has the call to my program after bootup, but still it opens dillo and not my program, the /home/dsl/.xinitrc and /KNOPPIX/home/dsl/.xinitrc files are different. /home/dsl/.xinitrc has call to dillo wheras the /KNOPPIX/home/dsl/.xinitrc is the file which i had modified. I want dsl to take this file and not the default .xinitrc file.

What should i do so that dsl can boot with my settings and run my program after bootup,
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Jan. 24 2007,16:37 QUOTE

There are several meanings to persistence, like you could have a home partition persistence (see cheatcodes).

Otherwise you'll have to remaster the image as you have done - just don't load your backup.tar.gz (or boot with 'dsl base')
Back to top
Profile PM 
3 replies since Jan. 22 2007,07:46 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Howto get rid of hdb in QEMU

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