thanks for this thomas, I added the entry + readme to the stock, should be in the next image then.
Thomas Vriet said :
> I found that editing this file /etc/grub.d/40_custom then sudo update-grub
> this
> worked for me.
>
> so, I added this to /etc/grub.d/40_custom :
>
> --8<--
> menuentry "Puredyne" {
> recordfail=1
> if [ -n ${have_grubenv} ]; then save_env recordfail; fi
> set quiet=1
> insmod ext2
> set root=(hd0,2)
> search --no-floppy --fs-uuid --set 3f59651f-639f-4465-9c1c-86c49e427249
> linux /live/vmlinuz ramdisk_size=1000000 boot=live persistent
> username=lintian hostname=puredyne
> initrd /live/initrd.img
> }
> --8<--
>
> I didn't try but I guess you can replace the UUID by the usual /dev/sdx...
I'm not sure if the 'old' way works with this but finding the uuid is
easy: just do 'sudo blkid' and paste the right one. I put this in the
readme too.
> Thomas Vriet wrote:
> >thank you dan :)
> >
> >but despite of these "DO NOT EDIT THIS FILE" comments at the top
> >of the file,
> >there must be a way to add puredyne booting details somewhere.
> >Any clue about the right command to run ?
> >
> >otherwise, I just found that file on the ISO :
> >/extra/grub/grub.cfg
> >is it safe to insert it in the middle of grub.cfg ?
> >
> >
> >BTW, about grub1 menu.lst settings, the wiki is obsolete (someone
> >also spotted it
> >recently I remember)
> >http://code.goto10.org/projects/puredyne/wiki/liveHDInstall-pd-lin
> >search and replace :
> >/live/vmlinuz1 > /live/vmlinuz
> >/live/initrd1.img > /live/initrd.img
> >
> >
> >
> >
> >Dan S wrote:
> >>2010/2/2 Thomas Vriet <[email protected]>:
> >>>hi again
> >>>
> >>>how to modify grub2 config file in order to boot a /live folder that was
> >>>copied on a partition ?
> >>>with grub2, this doc doesn't work obvisouly :
> >>>http://code.goto10.org/projects/puredyne/wiki/liveHDInstall-pd-lin
> >>>
> >>>I noticed the grub menu was now /boot/grub/grub.cgf but I don't want to
> >>>break anything as it is for a friend computer ;)
> >>
> >>I just said this in the other thread but I'll say it here, sorry for
> >>being repetitive :)
> >>
> >>You shouldn't edit it (unlike grub1 where you configure it
> >>by hacking the file) - if you want to change it you use a grub2
> >>command from a running system to recreate it based on what os's are
> >>around. It's a shame grub2 is so new it's hard to find a good tutorial
> >>(linux format had a good one in their mag a month or so ago)
> >>
> >>Dan
> >>
> >>---
> >>[email protected]
> >>http://identi.ca/group/puredyne
> >>irc://irc.goto10.org/puredyne
> >>
> >
> >
> >---
> >[email protected]
> >http://identi.ca/group/puredyne
> >irc://irc.goto10.org/puredyne
> >
>
>
> ---
> [email protected]
> http://identi.ca/group/puredyne
> irc://irc.goto10.org/puredyne
>
signature.asc
Description: Digital signature
--- [email protected] http://identi.ca/group/puredyne irc://irc.goto10.org/puredyne
