**** BEGIN LOGGING AT Sun Feb 13 02:59:56 2011 Feb 13 04:54:39 hi all. i've been searching for answers all over. i had my sheevaplug running fine, updated, fixed the little bugs just like the wiki recommended. once everything seemed to be in order, as root, i tryed to change the password by typing "passwd" as root. i entered my preferred new password twice, and now am unable to login as the plug doesnt recognize my new password or the old one as valid Feb 13 04:55:38 can anyone point me in the direction of a way to either reset the sheevaplug entirely or somehow change the root password with physical access? Feb 13 04:56:35 please? Feb 13 04:57:00 timhildred: you can get the rootfs.tar.gz tarball from the sheevaplug installer and put it on a USB drive Feb 13 04:57:11 change your uboot vars temporarilly to boot from USB Feb 13 04:57:23 once logged into the usb you can mount the NAND Feb 13 04:57:46 set your password on the USB, and copy it out of /etc/shadow and into the root's password slot on the NAND's /etc/shadow Feb 13 04:58:38 thanks Tootoot222; where do i get the rootfs.tar.gz? Feb 13 04:59:11 http://www.plugcomputer.org/index.php/us/resources/downloads?func=select&id=5 Feb 13 04:59:35 just find yourself a SD card formatted as ext2/3/4, or a USB drive with the same Feb 13 05:00:20 extract the sheevaplug_installer_v1.0/installer/rootfs.tar.gz onto the drive as root (sudo tar -xzf rootfs.tar.gz -C /media/usb/) Feb 13 05:00:33 ok Feb 13 05:01:02 then connect over the serial and in the marvell boot setup interface i change to boot variables Feb 13 05:01:09 yes Feb 13 05:01:09 ? Feb 13 05:01:17 find in the var bootcmd Feb 13 05:01:20 it should be something like Feb 13 05:01:28 root=/dev/mmcblk0p1 Feb 13 05:01:30 or something Feb 13 05:01:35 (basically just the root=blah) Feb 13 05:01:42 change it to root=/dev/sda1 Feb 13 05:01:57 (assuming your usb drive is partition 1 with the ext2/3/4 partition) Feb 13 05:02:09 (it should always be sda* though) Feb 13 05:02:12 ok Feb 13 05:02:36 once i boot off the usb, it will still be the ubuntu 9.04 special version Feb 13 05:02:37 ? Feb 13 05:02:52 yes that rootfs is ubuntu 9.04 Feb 13 05:03:11 it's similar to the one found by default on the plugs, but it has all the little quarks fixed Feb 13 05:03:26 (or maybe it's a new install, i'm unsure; it does work well though) Feb 13 05:03:54 btw when you change the uboot varible you don't have to saveenv Feb 13 05:03:59 just run: boot Feb 13 05:04:10 and it will use the varibles you've set, but only for that boot Feb 13 05:04:17 after that it will use the ones you had before Feb 13 05:31:42 cool, thanks Tootoot222 Feb 13 05:31:53 timhildred: got it working? Feb 13 05:31:53 sorry i dissappeared for a bit, i had to go be hassled by my wife Feb 13 05:31:58 that's fine Feb 13 05:35:47 sometimes Feb 13 05:37:03 lol Feb 13 05:37:26 depends on what kind of "hassling" she was doing to you for 30 minutes ;D Feb 13 05:40:05 she is installing adobe cs5 and wanted to fight while the installer went Feb 13 05:40:19 just to help pass the time Feb 13 05:40:33 lol Feb 13 05:59:13 i'll soon see if it works. i did setenv root=/dev/sda1 Feb 13 05:59:16 now its booting Feb 13 05:59:27 i'll be able to tell if it worked if the password is nosoup4u Feb 13 05:59:39 right Tootoot222? Feb 13 05:59:55 are you stateside Feb 13 05:59:55 ? Feb 13 06:02:12 didn't work Feb 13 06:04:21 do i have to do anything to ensure that the usb drive gets mounted in the marvell interface? Feb 13 06:04:25 uboot i mean Feb 13 06:06:49 does the usb drive have an access light? did it get a lot of activity when you booted it, or just a blink or two? Feb 13 06:07:06 its a stick Feb 13 06:07:30 some usb sticks have lights on them, but I guess yours does not then Feb 13 06:08:05 and it looks like instead or setenv root=whatever it should have been setenv bootargs_root=/dev/sda1 Feb 13 06:08:15 rw Feb 13 06:08:20 yes Feb 13 06:08:46 or rather, setenv bootargs_root=root=/dev/sda1 I think Feb 13 06:09:24 you want the final kernel command line to contain root=/dev/sda1 Feb 13 06:11:00 we'll see soonenough Feb 13 06:11:06 i did as you suggested mdm2k Feb 13 06:11:39 you can do printenv in uboot to see the vars you have now Feb 13 06:12:00 on my guruplug it'd be x_bootargs_root actually, not sure about the sheevaplug Feb 13 06:15:12 the other thing is that the default bootargs_root is "/dev/sda1 rw" Feb 13 06:15:25 do i oughtta set the "rw"? Feb 13 06:15:53 when i tried before, i had the problem that in place of a space, it put an = Feb 13 06:16:04 I think rw is the default but it couldn't hurt Feb 13 06:17:28 do i wanna do it with "" like setenv bootargs_root="/dev/sda1 rw" Feb 13 06:18:23 I think you don't need the " Feb 13 06:18:34 you say the default is already /dev/sda1 rw though? Feb 13 06:19:34 no, the default was /dev/nfs rw Feb 13 06:19:59 and changing it to setenv bootargs_root=root=/dev/sda1 doesn't seem to work Feb 13 06:20:05 did you have it booting from an nfs root file system? Feb 13 06:21:00 thats how it came Feb 13 06:21:02 i guess Feb 13 06:21:13 hmm, I don't think it's using that variable then Feb 13 06:21:25 thats what i get when i do a printenv on the uboot screen having changed nothign Feb 13 06:21:34 do a printenv in uboot, any other vars matching *bootargs* ? Feb 13 06:28:57 embarassing, but how do you copy out of a putty window in linux? Feb 13 06:29:26 there are two ways to copy text Feb 13 06:29:41 first you can just highlight it with the mouse, and then paste with middle mouse button Feb 13 06:29:53 try that first Feb 13 06:31:44 how do i copy from putty to xchat? i can paste it back into the putty window Feb 13 06:39:05 you might need to use ctrl+c or shift+ctrl+c to copy then, and ctrl+v or shift+ctrl+v to paste (depends on the app what it uses for the other kind of clipboard) Feb 13 06:43:37 so now, how to mount nand? Feb 13 06:43:49 ah, you got it? Feb 13 06:44:23 looks like, it booted using usb (i went to the uboot quick reference on the wiki, and changed the command there a little, and that seems to have gotten me in_ Feb 13 06:44:27 looks like, it booted using usb (i went to the uboot quick reference on the wiki, and changed the command there a little, and that seems to have gotten me in) Feb 13 06:44:47 now i gotta set the password here Feb 13 06:45:01 and then somehow make that be the password for the regular install Feb 13 06:51:38 Tootoot222, how do i mount the NAND now that i've booted off usb? Feb 13 06:52:47 I've never actually mounted the nand when booted from something else; I'm not sure how to mount it myself Feb 13 06:53:14 shoot Feb 13 06:53:46 these sorts of flash file systems usually don't use a block device, because they need lower level access to the flash memory than the block device interface provides Feb 13 06:54:26 as in, i'll need to installs mtd-utils? Feb 13 06:54:49 can you think of an easier way to reset the root password on the sheevaplug? Feb 13 06:55:50 no you'll probably need to do something weird like mount ubi0:rootfs /mnt -t ubifs Feb 13 06:56:17 personally I like adding init=/bin/bash to the kernel command line and booting Feb 13 06:56:33 then mount read-write, reset the password, and exec /sbin/init Feb 13 06:56:49 this works on a desktop linux system also Feb 13 06:57:13 will that work for one of the original sheevaplugs? Feb 13 06:59:09 I haven't tried it but I assume so Feb 13 07:00:20 can you describe how to do what you're talking about? what is mount ubi? Feb 13 07:00:48 well now that you've booted off the usb stick you can log in as root, right? Feb 13 07:00:52 right Feb 13 07:01:02 try running this command: Feb 13 07:01:14 mount ubi0:rootfs /mnt -t ubifs Feb 13 07:12:28 does it give any error messages? **** BEGIN LOGGING AT Sun Feb 13 15:40:14 2011 **** ENDING LOGGING AT Mon Feb 14 02:59:57 2011