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: Notes on Frugal Install with Grub and working myDS< Next Oldest | Next Newest >
robh Offline





Group: Members
Posts: 28
Joined: Oct. 2005
Posted: Oct. 22 2005,12:57 QUOTE

Quote (AwPhuch @ Oct. 21 2005,11:51)
You have to mount the "bootable" partition b4 editing...

If yours is /hda1 then mount it 1st..then edit..once its edited then you are good to go

Brian
AwPhuch

i thought i had mounted it, but clearly i was being dumb and had not done so.

any hoo, i've now changed my grub boot loader menu.lst file to the following

>kernel /boot/linux24 fromhd=/dev/hda1 quiet vga=789 noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 dsl mydsl=hda3 restore=hda3
>initrd /boot/minirt24.gz

everything seemed to go ok, so i tested the persistence by downloading and installing xchat via mydsl. installed it, copied it to my /mnt/hda3/home/dsl file and rebooted.

on restart the xchat icon is gone aswell as the /home/dsl file in hda3?

could you let me know if you can see any glaring errors pls

ps
hda1=image 256MB
hda2=swap 128MB
hda3=rest of hd ~2.8GB


--------------
Presario 1240
Pentium 266Mhz
96MB RAM
~3.2GB HD
full HD install of dsl 3.2
Back to top
Profile PM 
robh Offline





Group: Members
Posts: 28
Joined: Oct. 2005
Posted: Oct. 22 2005,13:09 QUOTE

scratch that, i haven't lost the home/dsl file but the installed apps are not persistent...:p

--------------
Presario 1240
Pentium 266Mhz
96MB RAM
~3.2GB HD
full HD install of dsl 3.2
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 22 2005,15:34 QUOTE

Applications do not remain installed in a frugal or liveCD setup, although any configuration files created in /home/dsl by the apps will be backed up and restored.  You'll need to put the mydsl package in the root of hda3 so it can be reinstalled the next time you start up.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
N0ne Offline





Group: Members
Posts: 5
Joined: Oct. 2005
Posted: Oct. 28 2005,13:04 QUOTE

Hello and thanks for this wiki.
I follow and got a "Missing operating system" at reboot.

After the installation I edit my menu.lst and my device.map.
Did I forgot something.  Thanks.  :(


EDIT : all works now.  :)
I reinstall grub with a good device.map + all *stage* file from another grub installation.  Then I re-install my grub and ajust my menu.list
Back to top
Profile PM 
ergouser Offline





Group: Members
Posts: 4
Joined: Oct. 2005
Posted: Oct. 30 2005,14:02 QUOTE

I did the following to get rid of a "GRUB Hard Disk Error".  I need to boot a system that has the CF as the Secondary drive (/dev/hdc).  On the DSL system, the CF/PCMCIA slot is /dev/hde.

If you right-click and do a Frugal Grub Install to /dev/hde.  (If you take this flash and boot it in the target, you get the error in the title "GRUB Hard Disk Error" at boot up.)

Remount the CF eg on /mnt/hde1

Edit the file /mnt/hde1/boot/grub/device.map so that has one line (you could probably put others, but I didn't try):

(hd0) /dev/hde

now:

grub-install --root-directory=/mnt/hde1 /dev/hde

now re-edit the device.map file:

(hd0) /dev/hdc

unmount, etc. etc.

In my case (YMMV) the CF boots in the target system.

I know almost nothing about grub, so this discovery was just luck.  I don't know why it works, or under what other situations it works.  If there's a grub expert out there who would like to expose my total ignorance and show a better way, I'd like to hear about it.
Back to top
Profile PM 
14 replies since Sep. 19 2005,14:31 < 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: Notes on Frugal Install with Grub and working myDS

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