Hi all,

I've got a slug up and running on Debian/NSLU2, using Debian Installer.
Could someone out there please tell me how to change my root partition?
I've got a spare partition set aside just for that purpose, I've copied
over everything I want onto it, but I can't figure out how to switch
over to using that as my new root partition.

I found update-initramfs to put together a new initrd.  I think I'm using
that right by just changing my fstab to what I want in the end, running
``update-initramfs -u'' to generate the new initrd in my /boot directory.
Is that right?

I found slugimage, but I'm not sure what to do with it.  One thing I
tried was just unpacking the file that contains my ``safety image''
(made earlier via ``cat /dev/mtdblock* > file'') like so:

# slugimage -u -b b -k k -s s -r r -f f -m m -t t -L L -i ~/goodImg.sda2

then I thought I'd just drop the part I need in where the ``r'' should
go to pack a new one like so:

# slugimage -p -b b -k k -s s -r /boot/initrd.img -f f -t t -L L -o 
~/goodImg.sda1

(I can't remember why, but it didn't like the -m I had there, so I
dropped it from the ``pack'' step).  Of course, when I upsluged that
image, it didn't work or I wouldn't be writing this now.

I tried a bunch of other stuff, too, but I won't bore you with the
details.  Mainly I just don't want y'all to think I'm one of those guys
that goes off pestering everyone with questions without at least trying
to figure things out first...  Anyway, now I have a few obvious questions:

1) What am I missing?  How do I change over to my new root partition?

2) I'm using upslug2 from another machine to burn the flash mainly
because I don't know any better.  I'm sure there's a way to do it right
from the slug, but I don't know how to do that yet.  Would someone point
me at the proper incantations for that?

3) Is the boot sequence (and options) for these slugs documented anywhere?

4) Is there an emergency boot method I haven't found yet (like booting
without a drive under the old SlugOS/LE setup)?  I guess I can always
just plug the drive into another system to perform a rescue when I have
to, but that's not really the same.

Thanks a bunch.  Many, *MANY* kudos for some really fine work.  I think
I'm gonna love having my slugs when I get them up and running the way
I want them.  I'm not subscribed to this mailing list, so please feel
free to CC me directly.  I'll keep looking in the archive for answers,
though, so you don't really need to.

L8r,
tg.

---

To reply directly, remove all lower case letters in my return address
([EMAIL PROTECTED]).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to