fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 10:00 am

Total Pi novice.
Have spent three+ days trying to get new Pi 2 to install and run successfully.
Too many things don't happen.

Have tried two uSD cards, 16 & 32GB. Same results. Formatted as advised on Windows and LINUX.
Jessie.img appears to (re)load onto SD without error though size (even downloaded both ways is 4,224,000) seems too big?
NOOBS seems to load onto SD but installing throws an error creating EXT4 partition then won't load OS.
Checked ZIP SHAs are OK.

Some things that seem to work:
Green & Blue Java, .IDLEs, Accessories(some), more - can list if it helps.

Some that don't run: (no error messages on GUI)
Shutdown (sudo reboot does)
Python games & Minecraft
Epiphany (can ping bbc.co.uk, etc.)
Mathematica
apt-get & dpkg fail on error in /status file - missing colon on line 0

Have I a duff Pi?

Note to post logs isn't realistic without a browser :(

drgeoff
Posts: 10638
Joined: Wed Jan 25, 2012 6:39 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 12:04 pm

1. Yes, the Jessie download unzips to an img file of about 4.2 Gbyte.

2. If the RPi boots and does anything, it is very unlikely to be duff.

3. First suspect is that you are not formatting the entire card. When using the SD Card Association's formatter with Windows ensure that 'Size Adjustment' is set to on.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 12:21 pm

Been through all that, drgeoff.
Note I have tried every which way to format the cards, Windoze & LINUX.
Size adjustment setting as advised in Windoze.

Just about to try NOOBS Lite someone suggested it works.

irishcanuck
Posts: 13
Joined: Fri May 03, 2013 5:30 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 2:29 pm

I was also getting the error: "dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0:"
as well as:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

I had being trying to unzip jessie to a vfat filesystem (which can only handle files up to 4gb).

There were errors that I thought I could ignore: "write error (disk full?)" .img is probably truncated (from xarchiver and unzip)
and "ERROR: E_FAIL" from 7z

The image was being truncated to the 4Gb limit: it looked okay on the surface, but was broken inside.

What was needed was to go back and unzip the .zip to a different drive/filesystem like ext3 (or ext4 in linux or ntfs for windows) and without any errors. Then dd again and it should be fine.
Last edited by irishcanuck on Wed Oct 21, 2015 2:37 pm, edited 1 time in total.

fruitoftheloom
Posts: 23078
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 2:35 pm

irishcanuck wrote:I was also getting the error: "dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0:"
as well as:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

I had being trying to unzip jessie to a vfat filesystem (which can only handle files up to 4gb and jessie is more like 4.2 or 4.3Gb).

There were errors that I thought I could ignore: "write error (disk full?)" .img is probably truncated (from xarchiver and unzip)
and "ERROR: E_FAIL" from 7z

The image was being truncated to the 4Gb limit: it looked okay on the surface, but was broken inside.

What was needed was to go back and unzip the .zip to a different drive/filesystem like ext3 (or ext4 in linux or ntfs for windows). Then dd again and you should be fine.
As been stated in several posts use 7Zip to unzip

http://www.7-zip.org/download.html
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 2:39 pm

fruitoftheloom wrote:As been stated in several posts use 7Zip to unzip
On most linux system, you can use unzip to unzip just fine. The problem is unzipping onto a filesystem which doesn't support files over 4GB (fat32).

irishcanuck
Posts: 13
Joined: Fri May 03, 2013 5:30 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 2:42 pm

fruitoftheloom wrote:
irishcanuck wrote:I was also getting the error: "dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 0:"
as well as:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

I had being trying to unzip jessie to a vfat filesystem (which can only handle files up to 4gb and jessie is more like 4.2 or 4.3Gb).

There were errors that I thought I could ignore: "write error (disk full?)" .img is probably truncated (from xarchiver and unzip)
and "ERROR: E_FAIL" from 7z

The image was being truncated to the 4Gb limit: it looked okay on the surface, but was broken inside.

What was needed was to go back and unzip the .zip to a different drive/filesystem like ext3 (or ext4 in linux or ntfs for windows). Then dd again and you should be fine.
As been stated in several posts use 7Zip to unzip

http://www.7-zip.org/download.html


If you'd have been paying attention I did try with 7-zip (aka 7z on the commandline)

User avatar
DougieLawson
Posts: 38817
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 2:48 pm

Stick the card in your phone or tablet to format it.

Try using the Raspbian image and Win32DiskImager rather than trying NOOBS.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 6:34 pm

I've tried NOOBS Lite.
Same error as NOOBS, error formatting ext4 partition so I cannot download any OS.
This on both 16 & 32GB SDs.

Pretty well stuffed I think.

Just have to live without browser and other stuff until there's an image that works.

drgeoff
Posts: 10638
Joined: Wed Jan 25, 2012 6:39 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 6:43 pm

fopetesl wrote:I've tried NOOBS Lite.
Same error as NOOBS, error formatting ext4 partition so I cannot download any OS.
This on both 16 & 32GB SDs.

Pretty well stuffed I think.

Just have to live without browser and other stuff until there's an image that works.
Apologies for being brutally blunt, but the images do work. Sounds like an instance of PEBKAC.

stderr
Posts: 2178
Joined: Sat Dec 01, 2012 11:29 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 8:47 pm

> Same error as NOOBS, error formatting ext4 partition so I cannot
> download any OS. This on both 16 & 32GB SDs.
>
A while back when I last tried, this was on the 512M 1st gen RPi, the systemd would seem fine and then it would go South and things wouldn't boot. I was telling people I was going to wait for systeme. For some reason only I find that joke funny.

One thing you didn't do, at least that I saw, was write out here exactly how you were formatting and writing to the flash cards. What are the exact command line commands you are using? And then after you write these files to the cards, did you mount the card and then try to read them all back? You could mount the file as a drive under Linux and the card too and compare them. What if you bought a brace of dodgy sdcards? They might even be fake and no capable of really holding the entire image.

I would also make sure that you are not saving or expanding the image file to a file system that can't support bigger than 4gig files. Someone mentioned that and I would think you'd want to make sure you aren't getting bit by that hilarious file system feature.

JimmyN
Posts: 1109
Joined: Wed Mar 18, 2015 7:05 pm
Location: Virginia, USA

Re: Jessie 50% working Pi 2 B+ About to give up

Wed Oct 21, 2015 8:55 pm

You may have some existing partitions on the SDcard from previous failed attempts, and that is causing the error. As asked earlier how are you formatting the SDcard? You just want a single partition formatted to FAT32.

I'd download the image and use Win32DiskImager to write it to the card. Doing that you eliminate any possible format/partitioning problems.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 7:07 am

Apologies aren't necessary, drgeoff, if you want to be insulting you can do better than that surely. :?:

I'll go over in more detail my formatting routines.
Windows 7, 4GB RAM, 1TB HDD.

1st format type used at least twice on both SD cards, SD Formatter V4.0
2nd format type ---------------------- " -----------------------, LINUX gparted
Write to SD:
A) Write 2015-09-24-raspbian-jessie using Win32DiskImager (three times)
B) Copy directory contents from NOOBS_v1_4_2 to SD card (twice 1 to 32GB, 1 to 16GB)
C) Copy directory contents from NOOBS_lite_v1_4 to SD card ( ----- " ---- )

A) never varies in as my original post.
Writes B) & C) always end up with similar error in not generating an EXT4 partition. C) also gives it a ridiculous enormous size.

Can someone explain what the expected size of the 'new' partition should be? Maybe I can, (PEBKAC notwithstanding), correct using gparted.

Thanks for the suggestions so far.

Professor
Posts: 24
Joined: Fri May 22, 2015 2:16 pm

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 7:25 am

The previous reply was right. If your raspberry can boot it's not duff. But I never met your problem. I always use Win32Imager to burn my SD cards with raspbian or debian images and everything works good. Try to download pure raspbian image (not NOOBS one) and burn your card with Win32Imager.

User avatar
DougieLawson
Posts: 38817
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 7:28 am

Try NOOBS Lite. https://downloads.raspberrypi.org/NOOBS_lite_latest

It needs a wired connection to install but only takes 740M when it's unzipped on to a bootable SDCard. It comes in at less than 4G used when Raspbian is installed with NOOBS Lite.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 7:51 am

Professor wrote:The previous reply was right. If your raspberry can boot it's not duff. But I never met your problem. I always use Win32Imager to burn my SD cards with raspbian or debian images and everything works good. Try to download pure raspbian image (not NOOBS one) and burn your card with Win32Imager.
Already done that, prof. See option A)

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 7:55 am

DougieLawson wrote:Try NOOBS Lite. https://downloads.raspberrypi.org/NOOBS_lite_latest

It needs a wired connection to install but only takes 740M when it's unzipped on to a bootable SDCard. It comes in at less than 4G used when Raspbian is installed with NOOBS Lite.
Already done that also. See option C)
I checked. Your link is the same? as this.

Explain the "wired connection" needed.

User avatar
DougieLawson
Posts: 38817
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 8:17 am

fopetesl wrote: Explain the "wired connection" needed.
NOOBS Lite boots with an empty /boot/os directory and downloads the stuff it needs from t'internet. So it needs to be wired to your home router with a cat5 cable when it runs. NOOBS Lite CAN NOT use WiFi.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 8:22 am

DougieLawson wrote:
fopetesl wrote: Explain the "wired connection" needed.
NOOBS Lite boots with an empty /boot/os directory and downloads the stuff it needs from t'internet. So it needs to be wired to your home router with a cat5 cable when it runs. NOOBS Lite CAN NOT use WiFi.
As in 1st post, have internet connection, can ping bbc.co.uk, etc.
Never get that far, see creating ext4 t'partition failure.

User avatar
DougieLawson
Posts: 38817
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 8:31 am

Have you ruled out the possibility that your Raspberry Pi 2B isn't working and needs to go back to your retailer for a refund or replacement?

If you send me (by snail mail) a blank SDCard (or paypal me some money) I'll send you back a tested and working Jessie or NOOBS/Jessie card at cost (inc VAT), no fees. I usually buy my SDCards from http://www.ebuyer.com/search?q=MicroSD
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 9:02 am

DougieLawson wrote:Have you ruled out the possibility that your Raspberry Pi 2B isn't working and needs to go back to your retailer for a refund or replacement?

If you send me (by snail mail) a blank SDCard (or paypal me some money) I'll send you back a tested and working Jessie or NOOBS/Jessie card at cost (inc VAT), no fees. I usually buy my SDCards from http://www.ebuyer.com/search?q=MicroSD
Nice offer. I may yet take you up on it.
However, I have another 32GB SD Class 10 card coming today. I'll give that a try and see what happens.

I'm not at all convinced it's the SD. Both downloaded and SH checked versions of Jessie give repeatable errors on both cards.

So you may be correct in being suspicious of the Pi being faulty. But. How to confirm?
I could send you a SD pre-loaded with Jessie to test?

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 9:50 am

burn raspbain on to it
dont bother with noobs
run it
if you can boot to a display then it's working any anything else is other stuff problems
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 9:54 am

RaTTuS wrote:burn raspbain on to it
dont bother with noobs
run it
if you can boot to a display then it's working any anything else is other stuff problems
I've attempted to burn Raspbian several times.
What do you mean by "..other stuff problems"?

User avatar
RaTTuS
Posts: 10558
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 10:39 am

if you have got to the desktop then raspbian works
if some bits of raspbain are not doing what you expect then it is probably other issues

if you have followed the troubleshooting post about not booting and have not got a good boot them you may have a bad RRi - but chances are you are doing something wrong

using the rasbian image you do not need to format anything

burn raspbain onto the sdcard
boot it what happens
then see viewtopic.php?f=28&t=58151
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

fopetesl
Posts: 44
Joined: Tue Oct 20, 2015 8:08 am

Re: Jessie 50% working Pi 2 B+ About to give up

Thu Oct 22, 2015 11:54 am

RaTTuS wrote:if you have got to the desktop then raspbian works
if some bits of raspbain are not doing what you expect then it is probably other issues

if you have followed the troubleshooting post about not booting and have not got a good boot them you may have a bad RRi - but chances are you are doing something wrong

using the rasbian image you do not need to format anything

burn raspbain onto the sdcard
boot it what happens
then see viewtopic.php?f=28&t=58151
I have done what you suggest. Repeatedly.

See my format and OS loading options above, please.
And my original post.

Return to “Troubleshooting”