DSL Tips and Tricks :: Notes on Frugal Install with Grub and working myDS



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

scratch that, i haven't lost the home/dsl file but the installed apps are not persistent...:p
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.
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

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.

Next Page...
original here.