grant centauri said :
> Well, unfortunately I wasn't able to figure out how to boot from USB on my
> other machine either, I tried various settings in the BIOS for using my SD
> card, but I never did get a boot from it.  So either it isn't working 
> correctly
> (can one use an SD card and reader as opposed to a USB stick?) or I just don't
> know what I'm doing.  And yes, I used the script to format the SD card and 
> make
> it the puredyne live system.
> 

hm, on some machines there is a boot device chooser when pressing F12
or something like that when the computer just powers on. maybe you
have something like that and it didn't tell you? 

> Anyways... since none of that seemed to work, I decided to go ahead and try 
> the
> liveHD, which aside from a few minor snags went fine.

cool!

> 
> Just to point out, the menu.lst file in the /extra/grub directory has the
> kernel pointing to /live/vmlinuz1 and also /live/initrd1.img when the files in
> the /live directory are named simply vmlinuz and initrd.img.  After changing
> that the system booted just fine.  I am a bit confused as to how to define the
> persistent medium (i have a logical ext2 partition named live-rw i want to 
> use)
> but I also haven't really done much digging yet either.
> 
> A few questions:
> 
> What is the grub.cfg file in the extra folder and should I do something with 
> it
> for my liveHD install?
> 

I'm not 100% sure, but afaik this is the config file for those who use
grub2 as their bootloader. quite a lot changed from grub 1 to 2 and
this is part of it I think.

> Is there anything to be aware of when installing packages to a liveHD system?
> or does that even work? 

only if you make 'persistence' work, i.e. have a usb-stick or hdd
plugged to your computer during boot which contains a ext2 filesystem
and the disk label 'live-rw'. then, everything should work as expected.

> 
> Could I simply use the liveHD to do a full installation?  It seems kind of
> silly and I don't really know what the differences are between the two 
> exactly.
> 

it is, I agree :)

but here it comes:

    liveUSB/CD/DVD = root filesystem in a file called "filesystem.squashfs"
                     this has the advantage that everything is quite
                     heavyly compressed and so fits more on the CD/DVD/USB
                     
    hdd install = root filesystem on hdd and not compressed in a file


greetings,

karsten


> 
> 
> On Mon, Feb 1, 2010 at 6:54 PM, Aymeric Mansoux <[email protected]> wrote:
> 
>     grant centauri said :
>     > I suppose my aim would be to have a full install rather than a liveHD,
>     > though I think a liveHD would be fine as well.
>     >
>     > I've been trying the CD boot and taking over from USB, but I'm not sure
>     its
>     > working correctly.  Do I just add "live-media=/dev/sdc1" at the end of
>     that
>     > long line of the boot command?
> 
>     Yes.
>     But make sure /dev/sdc1 is the right device/partition.
>     Maybe you need sdb1, sdd1, etc...
> 
>     > It booted fine, but seemed to still be using
>     > the CD.  I tried installing and got the same error as before.  Maybe I
>     typed
>     > something wrong, so I'll give it another go.
>     >
>     > Is there any way to tell whether I'm running from the USB or not?  When 
> I
>     > ran the mount command it showed the USB mounted as a normal drive at /
>     media,
> 
>     in doubt, copy paste the output of mount here.
> 
> 
>     > I assume that isn't correct.  Perhaps this next try will work and there
>     > won't be a problem.
> 
>     I assume the key was made with the provided script and tested on a
>     machine with USB boot working (to be sure we're all good on that side).
> 
>     a.
> 
> 
> 
>     > On Mon, Feb 1, 2010 at 6:20 AM, Aymeric Mansoux <[email protected]>
>     wrote:
>     >
>     > > Karsten Gebbert said :
>     > > > grant centauri said :
>     > > > > I can sure give it a try.  I don't know much about grub and
>     booting,
>     > > but I'm
>     > > > > assuming adding those lines to my grub.cfg and putting the /live
>     folder
>     > > where
>     > > > > its supposed to be under root should allow it to find the kernel
>     and
>     > > boot.  I
>     > > > > can use a USB, but I was wondering if I created a hdd partition 
> and
>     > > labeled it
>     > > > > live-rw if that would work for persistence as well.
>     > > > >
>     > > >
>     > > > definitely, any ext2 partition with that label will do (others: ext3
>     > > > will work too, right?).
>     > > >
>     > > > > I would be interested in trying the CD+USB boot/install
>     possibility,
>     > > but I'm
>     > > > > not sure how that would work either.  Something with editing the
>     boot
>     > > commands
>     > > > > to look for the kernel on the USB device somehow?
>     > > > >
>     > > >
>     > > > oh, my bad, I think I misunderstood. I'm not sure how that scenario
>     > > > would work.
>     > > >
>     > > > > I'll try some things in the next day or so and report back on
>     whether
>     > > anything
>     > > > > works.  Thanks for the advice.
>     > > > >
>     > > >
>     > >
>     > > to add up on what dan and karsten already said...
>     > > You can do any kind of combination of partitions, devices, media, etc
>     > > ...
>     > >
>     > > It all depends on what your aim is, each method has pros and cons. If
>     > > your aim is to have a full install on a specific partition and you
>     > > cannot boot on USB and your CD is has issues, then booting on CD and
>     > > taking over from USB is the best solution.
>     > >
>     > > a.
>     > >
>     > > >
>     > > > > -grant
>     > > > >
>     > > > > On Mon, Feb 1, 2010 at 4:13 AM, Karsten Gebbert 
> <[email protected]
>     >
>     > > wrote:
>     > > > >
>     > > > >     grant centauri said :
>     > > > >     > hello,
>     > > > >     >
>     > > > >     > i've been having trouble with an old laptop and its CD 
> drive.
>      In
>     > > order
>     > > > >     to even
>     > > > >     > get pure:dyne to boot I was forced to use a regular CD-R, 
> and
>     > > when trying
>     > > > >     to
>     > > > >     > install I get an I/O error.
>     > > > >     >
>     > > > >     > Instead of trying to burn another disc (I did successfully
>     > > install on
>     > > > >     another
>     > > > >     > machine with it after all, plus I'm out of CD-Rs) I thought
>     > > perhaps I'd
>     > > > >     try to
>     > > > >     > make a liveUSB and install from that.  However, my machine 
> is
>     old
>     > > enough
>     > > > >     that
>     > > > >     > it doesn't seem to want to boot from USB at all.  So after a
>     > > frustrating
>     > > > >     night,
>     > > > >     > I decided the easiest thing I could think of to get a
>     puredyne
>     > > realtime
>     > > > >     kernel
>     > > > >     > and start doing stuff was to grab the old leek and potato
>     kernel
>     > > on my
>     > > > >     already
>     > > > >     > running debian system and go from there.
>     > > > >     >
>     > > > >     > my goal was to get this laptop with a stable realtime setup
>     so I
>     > > can use
>     > > > >     it for
>     > > > >     > a performance next saturday.  I could run just from the
>     liveCD,
>     > > but I
>     > > > >     don't
>     > > > >     > really want to chance something going wrong in the middle of
>     a
>     > > set.  For
>     > > > >     now,
>     > > > >     > this solution seems okay, but I would like access to the
>     newer
>     > > software
>     > > > >     and
>     > > > >     > kernel.
>     > > > >     >
>     > > > >     > I guess I'm just bringing it up in case anyone had any
>     solutions
>     > > or work
>     > > > >     > arounds in case something like this happens to anyone else.
>     > > > >     >
>     > > > >     > I was thinking that perhaps I could make a partition on the
>     drive
>     > > to be a
>     > > > >     > liveHD install of C&C?  It seemed like the make-live-device
>     > > script
>     > > > >     wouldn't
>     > > > >     > work for that because of an issue where if I put /dev/sda3 
> it
>     was
>     > > trying
>     > > > >     to
>     > > > >     > create partitions /dev/sda31 and /dev/sda32.  Perhaps 
> there's
>     a
>     > > minor
>     > > > >     change to
>     > > > >     > the script that could be made to allow it to live on a
>     partition
>     > > of a
>     > > > >     drive?
>     > > > >     > Or perhaps there's another method to put the ISO somewhere
>     and
>     > > make it
>     > > > >     > bootable?  It seemed like there was a way with leek&potato,
>     but I
>     > > wasn't
>     > > > >     sure
>     > > > >     > with C&C.
>     > > > >     >
>     > > > >     > Any ideas?
>     > > > >     >
>     > > > >
>     > > > >     maybe you could mount the iso on a loop, and cp the /live
>     folder to
>     > > > >     your root and boot everything using grub. I think there is an
>     > > example
>     > > > >     for the config in the iso in the extra folder. then you could
>     use a
>     > > > >     usb stick with a ext2 partition (and 'live-rw' label!) as your
>     > > > >     persistence medium.
>     > > > >
>     > > > >     would that work/help?
>     > > > >
>     > > > >     greetings,
>     > > > >
>     > > > >     karsten
>     > > > >
>     > > > >     -----BEGIN PGP SIGNATURE-----
>     > > > >     Version: GnuPG v1.4.9 (GNU/Linux)
>     > > > >
>     > > > >    
>     iEYEARECAAYFAktmqVEACgkQJYU9qnGdnMcwawCgoboSHdroyga8XKVqOGdGXPoP
>     > > > >     tYMAn2S5K+V6/pjsTdf78R1WcQloTljK
>     > > > >     =m8i5
>     > > > >     -----END PGP SIGNATURE-----
>     > > > >
>     > > > >     ---
>     > > > >     [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
>     > >
>     > >
>     > > ---
>     > > [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
> 
> 

> ---
> [email protected]
> http://identi.ca/group/puredyne
> irc://irc.goto10.org/puredyne

Attachment: signature.asc
Description: Digital signature

---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne

Reply via email to