I formatted my sd card through my pc and ever since I keep getting a message "unrecognized disk label" when trying to set up partitions in recovery ( "parted /dev/block/mmcblk0"). What am I missing?
Does its still put you in interactive mode? If it does you can use "print" to see what it sees.
Otherwise you could try a command line operation:
Code:
parted /dev/block/mmcblk0 print
You can try and create a new partition table with:
Code:
parted /dev/block/mmcblk0 mklabel msdos
You may need to tell it "msdos" again.
That would wipe all your data of course.
Thank you for the suggestion; I believe I get the same "unrecognized disk label" message when I type print. I'm going to try msdos and see if that helps.
I'm having some problems, after an update, when I reboot my phone I get the openhome force close thing, I did all these searches and found people saying keep hitting force close and enter, well that didn't work, but i did notice once I rebooted without my sd card my phone would boot up fine. I'm running a rooted g1 (Cyanogen 4.0.4). So I decided to delete openhome from my sd since it's not in Market on my phone. But, everytime I boot with the sdcard in, I still get the openhome force close thing. I deleted the apk and searched for openhome and don't find anything else on my sdcard
Another thing, I didn't know if my sdcard was saving apps, a guy told me I needed 3 partions (fat32, ext2, and linux swap) I have Paragon Partion Manager 9.5. I have a 2gb sdcard made by Sandisk. I partion the first at 1.5, ext2 at 350mb, but when I go to make the 3rd partion (linux swap) it says no room, I even tried reducing the size of ext2 to 200mb but it still says not enough room for the third partion. Furthermore when I put my sd card in the G1 it's not showing the card as partioned. It says 1.393mb total space on sd card, then for sd secondary it says unavailable.
I'm lost and to make matters worse, I just rebooted my phone with sd card in and after a long android loop it went to a black screen and stayed there. I rebooted without sd card and it booted fine. I'm getting frustrated. thanks
So I deleted partions and did everything again.
My computer is showing fat32 1.2 GB, ext2 at 313mb, but it still wont let me make a 3rd partion, it says not enough space. Then when i put the sd card in my G1 it only shows 1.2gb total space on sd card, then for sd secondary it says unavailable.
#parted /dev/block/mmcblk0
#print
Now print is going to list all the partitions. The first number in each line is the partition number. Type "rm #" without quotes and replace # with every number listed by print.
#print
Verify that there are no partitions and write down the the exact disk size.
your linux-swap partition ends with (the disk size)
your linux-swap partition begins with (the disk size - 96)
your ext2 partition ends with (the disk size - 96)
your ext2 partition begins with (the disk size - 596)
your fat32 partition begins with 0
your fat32 partition ends with (the disk size - 596)
the following example is for a card with a disk size of 1732
mkpartfs primary fat32 0 1136
mkpartfs primary ext2 1136 1636
mkpartfs primary linux-swap 1636-1732
exit parted and type "upgrade_fs" in the recovery console
Fingerlickin said:
#parted /dev/block/mmcblk0
#print
Now print is going to list all the partitions. The first number in each line is the partition number. Type "rm #" without quotes and replace # with every number listed by print.
#print
Verify that there are no partitions and write down the the exact disk size.
your linux-swap partition ends with (the disk size)
your linux-swap partition begins with (the disk size - 96)
your ext2 partition ends with (the disk size - 96)
your ext2 partition begins with (the disk size - 596)
your fat32 partition begins with 0
your fat32 partition ends with (the disk size - 596)
the following example is for a card with a disk size of 1732
mkpartfs primary fat32 0 1136
mkpartfs primary ext2 1136 1636
mkpartfs primary linux-swap 1636-1732
exit parted and type "upgrade_fs" in the recovery console
Click to expand...
Click to collapse
i'm a little lost, do i do that in terminal emulator or do i boot with (home key and power key) then type in all that, do i risk bricking my phone when doing all that. before I do all that do I need to format my sd and delete all partions...i'm so lost i thought with Cyanogen I wouldn't have to do much to get rolling with apps2sd, is there some app i can purchase that will do all this for me?
this is all done in the recovery console. assuming you have cm-recovery 1.4.
boot with home+pwr
goto console
type:
parted /dev/block/mmcblk0
type:
print
result:
Model: Unknown (unknown)
Disk /dev/block/mmcblk0: ####MB
**we need the ####MB number**
there shouldn't be anything listed below the following:
Number Start End Size Type File system Flags
if there is type "rm #" replace # with the partition number
when i enter "parted /dev/block/mmcblk0" it says not found, thanks
Can I do this from the terminal, and if so, what are the commands I need to use?
Right now I have set up Ext3 with 1GB. I realized that it's just too big and I want to lower it to 500mb instead. That way I can add a linux-swap partition and still have plenty of space in the FAT32. But, I'm unsure if I can do this through terminal or if I have to go through partition manager.
Thanks.
you can do it in your console from recovery using parted and the resize command.
what is the actual command line(s)?
take a look at this
http://forum.xda-developers.com/showthread.php?t=534714
just drop to console and ignore adb commands. there are some resize commands in the thread if you look. the OP will show you how to get into it and other great info.
enjoy!
last time i tried the resize command on an ext3 partition it said parted couldn't do it. (in the recovery console) so you will either have to rm 2 it and mkpartfs primary ext2 [start] [end]
or mke2fs /dev/block/mmcblk0p2 it then you can do the resize command.
which would be resize 2 [new start] [new end]
First - thanks for all the contributors to this forum!! Hence the reason I decided to pay it forward...
My environment:
- Windows 7 64 bit, pro
I wanted to post my experience with the issues I had. I'm not going to bore you with another step-by-step guide but I am going to touch on a few key points...
1) Make sure you prepare your SD card! What I had to do was delete all the partitions on the drive, you can use diskpart to do this. Don't format, or create any partitions on the drive, when you copy the image this will do it for you. The mistake i made was trying to create the partition and format the drive... don't do this!! Below are steps on how to delete the partitions in Windows. If you're using linux you probably know how to do this in your environment...
Start > Run > cmd
Type in: diskpart
A new box will open... type in "list disk" (without quotes)
Find the number of your your SD card disk and type in "select disk #" replacing # with the number you found and without quotes
For each partition do the following: "list partition" then "select partition #" then "delete partition"
Do this for every partition
Then try winimage or cygwin, the latter was successful for me, I tried both
2) If your device boots up normally after putting in the SD card to root it, your SD card is not prepared properly. It could be a bunch of things... but at this point focus on fixing the image... not the ADB drivers.
- If it is successful your nook will appear completely off (no noise or display)... so you have to watch the notifications on your PC. I left it on for about 3 minutes then turned it off and took out the SD card.
Hope this helps, just a few lessons learned.
WinImage won't see it after this
WinImage is not able to see the SD card once the partition has been removed. The SD card is now useless since Windows can't see it either. Thanks for turning a 4GB SD card into trash for me.
samofny said:
WinImage is not able to see the SD card once the partition has been removed. The SD card is now useless since Windows can't see it either. Thanks for turning a 4GB SD card into trash for me.
Click to expand...
Click to collapse
Cut the drama, it's not trashed. Partition and format the card with the built-in Windows software and try again.
chuffykow said:
Cut the drama, it's not trashed. Partition and format the card with the built-in Windows software and try again.
Click to expand...
Click to collapse
someone posted this and it worked for me.
google HP USB Disk Storage Format Tool and reformat your sdcard.
samofny said:
WinImage is not able to see the SD card once the partition has been removed. The SD card is now useless since Windows can't see it either. Thanks for turning a 4GB SD card into trash for me.
Click to expand...
Click to collapse
(1) It's not trashed.
(2) Even if it was trashed (and it isn't), how much of your lifes savings did that 4G card cost you?
(3) I'd ask the original poster for a refund RIGHT FRIGGIN' NOW! How much was it that they charged you for their advice?
Good grief. Some people.
I been working on rooting the NC for two days now, and for some reason i it just doesn't work for me. I have followed all steps at nookdevs. When i start up the NC with the imaged sd card it boots as normal. i tired with linux, and windows 7. Below is what i am working with. Any help is appreciated.
OS: Ubuntu 10.10
NC#: 2004***********2009
Linux TERMINAL:
[email protected]:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/padawan/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=padawan)
/dev/sdb1 on /media/4593-120A type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=119,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
[email protected]:~$ cd ~/Desktop/Stuffus/nooter
[email protected]:~/Desktop/Stuffus/nooter$ sudo umount /dev/sdb1
[email protected]:~/Desktop/Stuffus/nooter$ sudo dd if=nooter_sdcard_40mb.img of=/dev/sdb1
80326+0 records in
80326+0 records out
41126912 bytes (41 MB) copied, 17.2821 s, 2.4 MB/s
[email protected]:~/Desktop/Stuffus/nooter$
vmarcano718 said:
I been working on rooting the NC for two days now, and for some reason i it just doesn't work for me. I have followed all steps at nookdevs. When i start up the NC with the imaged sd card it boots as normal. i tired with linux, and windows 7. Below is what i am working with. Any help is appreciated.
OS: Ubuntu 10.10
NC#: 2004***********2009
Linux TERMINAL:
[email protected]:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/padawan/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=padawan)
/dev/sdb1 on /media/4593-120A type vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=119,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
[email protected]:~$ cd ~/Desktop/Stuffus/nooter
[email protected]:~/Desktop/Stuffus/nooter$ sudo umount /dev/sdb1
[email protected]:~/Desktop/Stuffus/nooter$ sudo dd if=nooter_sdcard_40mb.img of=/dev/sdb1
80326+0 records in
80326+0 records out
41126912 bytes (41 MB) copied, 17.2821 s, 2.4 MB/s
[email protected]:~/Desktop/Stuffus/nooter$
Click to expand...
Click to collapse
I got it. I used Win image. don't know why dd command didnt work though. if anyone has an idea feel free to mention it for future reference. ANyone who is having trouble might just want to try win image method.
samofny said:
WinImage is not able to see the SD card once the partition has been removed. The SD card is now useless since Windows can't see it either. Thanks for turning a 4GB SD card into trash for me.
Click to expand...
Click to collapse
Its definitely not trashed.... just create a new partition.
Cygwin worked well for me... give it a shot!
vmarcano718 said:
[email protected]:~/Desktop/Stuffus/nooter$ sudo umount /dev/sdb1
[email protected]:~/Desktop/Stuffus/nooter$ sudo dd if=nooter_sdcard_40mb.img of=/dev/sdb1
80326+0 records in
80326+0 records out
41126912 bytes (41 MB) copied, 17.2821 s, 2.4 MB/s
[email protected]:~/Desktop/Stuffus/nooter$
Click to expand...
Click to collapse
You were SOOOOO close...
The problem was that you wrote the image to the partition and not to the device.
Here is the correct command:
sudo dd if=nooter_sdcard_40mb.img of=/dev/sdb
The image is a complete disk image, not a partition image so it must be written to the raw device /dev/sdb in your case and not the partition /dec/sdb1.
Note: /dev/sdb (leave the 1 which indicates the partion off!)
johnopsec said:
You were SOOOOO close...
The problem was that you wrote the image to the partition and not to the device.
Here is the correct command:
sudo dd if=nooter_sdcard_40mb.img of=/dev/sdb
The image is a complete disk image, not a partition image so it must be written to the raw device /dev/sdb in your case and not the partition /dec/sdb1.
Note: /dev/sdb (leave the 1 which indicates the partion off!)
Click to expand...
Click to collapse
Yea, i tired that too.I received a 'doesn't exist' eroror. Prob. entered it wrong too. thanx for the advice.
Hi,
I'm in the process of preparing my sd card to try many of the available ROMs and noticed that common step is that a bootable sdcard partition is needed (either for clockwork recovery, or the actual bootable image)
I was thinking of partitioning my existing 4GB microsd card into 2 partitions 512MB,3.5GB and use the first partition for nook install purposes.
i.e the first partition/drive letter in windows will be the target of the image.
Will this work?
ps: created the two partitions using ubuntu's disk utility (virtualbox), the first one has the bootable flag..
Update:
Will attempt autonooter 3.0 like this!
dd command and output:
Code:
[email protected]:~$ sudo dd if=/mnt/share/auto-nooter-3.0.0.img of=/dev/sdb1
249344+0 records in
249344+0 records out
127664128 bytes (128 MB) copied, 32.303 s, 4.0 MB/s
[email protected]:~$ ls -l /dev/sdb1
brw-rw---- 1 root disk 8, 17 2011-03-02 17:58 /dev/sdb1
Update2:
It did not work. (autonooter didnt work/run)
I simply see two drives mounted (MyNOOKColor and AutoNooter2), NC reports a damaged sd card.
Update3:
All ok now, used one partition with autonooter
thanks