Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #12415 > unrolled thread

e2fsck problems

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2014-10-21 22:48 -0400
Last post2014-10-22 08:11 -0700
Articles 13 — 5 participants

Back to article view | Back to comp.os.linux.misc


Contents

  e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-21 22:48 -0400
    Re: e2fsck problems Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2014-10-21 20:20 -0700
      Re: e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-22 00:15 -0400
        Re: e2fsck problems Bit Twister <BitTwister@mouse-potato.com> - 2014-10-22 04:44 +0000
          Re: e2fsck problems lakshmi <lakshmipathi.g@gmail.com> - 2014-10-21 23:26 -0700
            Re: e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-22 15:04 -0400
              Re: e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-22 17:08 -0400
                Re: e2fsck problems Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2014-10-22 14:41 -0700
              Re: e2fsck problems Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2014-10-22 15:30 -0700
                Re: e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-23 13:58 -0400
          Re: e2fsck problems "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-22 18:40 -0400
        Re: e2fsck problems Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2014-10-22 08:05 -0700
          Re: e2fsck problems Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2014-10-22 08:11 -0700

#12415 — e2fsck problems

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-21 22:48 -0400
Subjecte2fsck problems
Message-ID<m275u9$rog$1@speranza.aioe.org>
    I have a root file system I mave to mount with "emergency ro" after the 
line of kernel code to mount ro. When I do this I see in the root directory 
.journal an invisible file that is supposesd to be changed into a special 
invisible inode. The journaling inode. I run e2fsck -a /dev/sda2 rot the 
root device and the shell says everything is clean. But the file is still 
there I can't seem to fix the filesystem. It was ext2 and I added 
journaling.

Bill

[toc] | [next] | [standalone]


#12416

FromKeith Keller <kkeller-usenet@wombat.san-francisco.ca.us>
Date2014-10-21 20:20 -0700
Message-ID<ddkjhbx0kg.ln2@goaway.wombat.san-francisco.ca.us>
In reply to#12415
On 2014-10-22, Bill Cunningham <nospam@nspam.invalid> wrote:
>     I have a root file system I mave to mount with "emergency ro" after the 
> line of kernel code to mount ro. When I do this I see in the root directory 
> .journal an invisible file that is supposesd to be changed into a special 
> invisible inode. The journaling inode. I run e2fsck -a /dev/sda2 rot the 
> root device and the shell says everything is clean. But the file is still 
> there I can't seem to fix the filesystem. It was ext2 and I added 
> journaling.

If it's the root filesystem, you will probably need to run e2fsck from
other boot media.  e2fsck can't repair some problems while the
filesystem is mounted, even ro (and this is likely one of them).

--keith


-- 
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

[toc] | [prev] | [next] | [standalone]


#12417

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-22 00:15 -0400
Message-ID<m27b0q$4rd$1@speranza.aioe.org>
In reply to#12416
"Keith Keller" <kkeller-usenet@wombat.san-francisco.ca.us> wrote in message 
news:ddkjhbx0kg.ln2@goaway.wombat.san-francisco.ca.us...
> On 2014-10-22, Bill Cunningham <nospam@nspam.invalid> wrote:
>>     I have a root file system I mave to mount with "emergency ro" after 
>> the
>> line of kernel code to mount ro. When I do this I see in the root 
>> directory
>> .journal an invisible file that is supposesd to be changed into a special
>> invisible inode. The journaling inode. I run e2fsck -a /dev/sda2 rot the
>> root device and the shell says everything is clean. But the file is still
>> there I can't seem to fix the filesystem. It was ext2 and I added
>> journaling.
>
> If it's the root filesystem, you will probably need to run e2fsck from
> other boot media.  e2fsck can't repair some problems while the
> filesystem is mounted, even ro (and this is likely one of them).

    I never could figure out how to make an isolinux dvd/cd bootable cd/dvd. 
I think syslinux is involved.

Bill

[toc] | [prev] | [next] | [standalone]


#12418

FromBit Twister <BitTwister@mouse-potato.com>
Date2014-10-22 04:44 +0000
Message-ID<slrnm4edh3.7jc.BitTwister@wb.home.test>
In reply to#12417
On Wed, 22 Oct 2014 00:15:23 -0400, Bill Cunningham wrote:

>     I never could figure out how to make an isolinux dvd/cd bootable cd/dvd. 

If you have a running linux system, download a system rescue iso image
http://www.sysresccd.org   and run something like

    dd bs=1M of=/dev/sr0 if=fn_here.iso

Be very careful about the /dev/id_here. Not that hard to wipe out the
wrong drive.  :(

All you have do is figure out what device to use. My cd/dvd device is
hooked to /dev/sr0.

If I want to burn an iso to a thumb drive it would be
    dd bs=1M if=/dev/zero of=/dev/sdg count=1 
    dd bs=1M of=/dev/sdg if=fn_here.iso

First one wipes out the thumb drive's partition table and the second
writes the iso.

You really need to wait for the usb drive's blinking led to finish.

Again, you better know what device you are writing to (of=/dev/XXX).

[toc] | [prev] | [next] | [standalone]


#12419

Fromlakshmi <lakshmipathi.g@gmail.com>
Date2014-10-21 23:26 -0700
Message-ID<1a3c070b-1a2a-4d35-8c81-10fdae222a22@googlegroups.com>
In reply to#12418
> 
> >     I never could figure out how to make an isolinux dvd/cd bootable cd/dvd. 
> 

Just use any available live-cd instead of spending time on creating one. My recommendation is http://www.slax.org/  just burn the iso into CD and boot from there. Then mount the partition - If it gets mounted copy important files . 

unmount the drive and then run e2fsck on the partition. 

[toc] | [prev] | [next] | [standalone]


#12423

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-22 15:04 -0400
Message-ID<m28v4i$kgm$1@speranza.aioe.org>
In reply to#12419
"lakshmi" <lakshmipathi.g@gmail.com> wrote in message 
news:1a3c070b-1a2a-4d35-8c81-10fdae222a22@googlegroups.com...
>>
>> >     I never could figure out how to make an isolinux dvd/cd bootable 
>> > cd/dvd.
>>
>
> Just use any available live-cd instead of spending time on creating one. 
> My recommendation is http://www.slax.org/  just burn the iso into CD and 
> boot from there. Then mount the partition - If it gets mounted copy 
> important files .
>
> unmount the drive and then run e2fsck on the partition.

    Well I don't really have a live DVD downloaded. The live iso's are too 
big for my CD-RW. But I do have the Fedora 20 network install on a CD-RW. Of 
course I do have some DVD-RWs. I can always break them out. Does the Fedora 
20 network install have a way to access without installing?

Bill

[toc] | [prev] | [next] | [standalone]


#12425

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-22 17:08 -0400
Message-ID<m296bj$at5$1@speranza.aioe.org>
In reply to#12423
"Bill Cunningham" <nospam@nspam.invalid> wrote in message 
news:m28v4i$kgm$1@speranza.aioe.org...

>    Well I don't really have a live DVD downloaded. The live iso's are too 
> big for my CD-RW. But I do have the Fedora 20 network install on a CD-RW. 
> Of course I do have some DVD-RWs. I can always break them out. Does the 
> Fedora 20 network install have a way to access without installing?

    Well I booted in rescue mode with my fedora 20 network install disk. It 
loaded my root system in ro mode and I could not umount or force a umount. 
So I am back to the beginning.

Bill

[toc] | [prev] | [next] | [standalone]


#12426

FromBobbie Sellers <bliss-sf4ever@dslextreme.com>
Date2014-10-22 14:41 -0700
Message-ID<m298a8$7oe$1@dont-email.me>
In reply to#12425
On 10/22/2014 02:08 PM, Bill Cunningham wrote:
> "Bill Cunningham" <nospam@nspam.invalid> wrote in message
> news:m28v4i$kgm$1@speranza.aioe.org...
>
>>     Well I don't really have a live DVD downloaded. The live iso's are too
>> big for my CD-RW. But I do have the Fedora 20 network install on a CD-RW.
>> Of course I do have some DVD-RWs. I can always break them out. Does the
>> Fedora 20 network install have a way to access without installing?
>
>      Well I booted in rescue mode with my fedora 20 network install disk. It
> loaded my root system in ro mode and I could not umount or force a umount.
> So I am back to the beginning.
>
> Bill
>
>

	Well Bill if you used a recovery disk on cd you would
not be having that problem.  The network install probably does
not have the facility.
	I learned to use kb3, the KDE disk writer, to burn bootable
isos without much problems.  Of course I had used Windows XP to
burn my first bootable Linux disks and I managed to use it again
when I was getting used to my new notebook and used Windows 8.1.
You must have a system working otherwise we could not read about
your problems here.
	You should go to Google and search for Linux Users Groups
in your neighborhood. Here in SF if you contacted San Francisco-LUG
you could have the bootable CD you need by asking at a meeting or
e-mailing me to request that you get such a disk.
	If this sort of assistance is not available at other groups I would be 
very surprised.

	bliss

[toc] | [prev] | [next] | [standalone]


#12427

FromKeith Keller <kkeller-usenet@wombat.san-francisco.ca.us>
Date2014-10-22 15:30 -0700
Message-ID<gpnlhbxn5s.ln2@goaway.wombat.san-francisco.ca.us>
In reply to#12423
On 2014-10-22, Bill Cunningham <nospam@nspam.invalid> wrote:
>
> "lakshmi" <lakshmipathi.g@gmail.com> wrote in message 
> news:1a3c070b-1a2a-4d35-8c81-10fdae222a22@googlegroups.com...
>>
>> Just use any available live-cd instead of spending time on creating one. 
>> My recommendation is http://www.slax.org/  just burn the iso into CD and 
>> boot from there. Then mount the partition - If it gets mounted copy 
>> important files .
>>
>> unmount the drive and then run e2fsck on the partition.
>
>     Well I don't really have a live DVD downloaded. The live iso's are too 
> big for my CD-RW.

Did you even look at Slax, as lakshmi suggested?

http://www.slax.org/en/download.php

The size varies from 215MB to 230MB.  That can't possibly be too big for
your CD-RW.

--keith

-- 
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

[toc] | [prev] | [next] | [standalone]


#12434

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-23 13:58 -0400
Message-ID<m2bfjt$k4g$1@speranza.aioe.org>
In reply to#12427
"Keith Keller" <kkeller-usenet@wombat.san-francisco.ca.us> wrote in message 
news:gpnlhbxn5s.ln2@goaway.wombat.san-francisco.ca.us...
> On 2014-10-22, Bill Cunningham <nospam@nspam.invalid> wrote:
>>
>> "lakshmi" <lakshmipathi.g@gmail.com> wrote in message
>> news:1a3c070b-1a2a-4d35-8c81-10fdae222a22@googlegroups.com...
>>>
>>> Just use any available live-cd instead of spending time on creating one.
>>> My recommendation is http://www.slax.org/  just burn the iso into CD and
>>> boot from there. Then mount the partition - If it gets mounted copy
>>> important files .
>>>
>>> unmount the drive and then run e2fsck on the partition.
>>
>>     Well I don't really have a live DVD downloaded. The live iso's are 
>> too
>> big for my CD-RW.
>
> Did you even look at Slax, as lakshmi suggested?
>
> http://www.slax.org/en/download.php
>
> The size varies from 215MB to 230MB.  That can't possibly be too big for
> your CD-RW.

    Have downloaded it. I have some other small linux distros too. Archlinux 
and Gentoo for example.

Bill

[toc] | [prev] | [next] | [standalone]


#12428

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-22 18:40 -0400
Message-ID<m29bpg$nk0$1@speranza.aioe.org>
In reply to#12418
"Bit Twister" <BitTwister@mouse-potato.com> wrote in message 
news:slrnm4edh3.7jc.BitTwister@wb.home.test...
> On Wed, 22 Oct 2014 00:15:23 -0400, Bill Cunningham wrote:
>
>>     I never could figure out how to make an isolinux dvd/cd bootable 
>> cd/dvd.
>
> If you have a running linux system, download a system rescue iso image
> http://www.sysresccd.org   and run something like

    I usesd your above mentioned disk and it worked. All seems to be 
corrected. And the system reported a corrected error in clokck hardware 
concerning incorrect time. I'm not quite sure what that was about.

>    dd bs=1M of=/dev/sr0 if=fn_here.iso
>
> Be very careful about the /dev/id_here. Not that hard to wipe out the
> wrong drive.  :(
>
> All you have do is figure out what device to use. My cd/dvd device is
> hooked to /dev/sr0.
>
> If I want to burn an iso to a thumb drive it would be
>    dd bs=1M if=/dev/zero of=/dev/sdg count=1
>    dd bs=1M of=/dev/sdg if=fn_here.iso
>
> First one wipes out the thumb drive's partition table and the second
> writes the iso.
>
> You really need to wait for the usb drive's blinking led to finish.
>
> Again, you better know what device you are writing to (of=/dev/XXX).

    I tried your dd instructions they didn't work at all. I eliminated my 
partition which I didn't want to do. And I used my XP burning software. Well 
what matters now I guess is that all's well.

Thanks for the help!

Bill

[toc] | [prev] | [next] | [standalone]


#12420

FromKeith Keller <kkeller-usenet@wombat.san-francisco.ca.us>
Date2014-10-22 08:05 -0700
Message-ID<smtkhbx6un.ln2@goaway.wombat.san-francisco.ca.us>
In reply to#12417
On 2014-10-22, Bill Cunningham <nospam@nspam.invalid> wrote:
>
>     I never could figure out how to make an isolinux dvd/cd bootable cd/dvd. 
> I think syslinux is involved.

It's already been done.  Here's yet another boot CD:

http://www.ultimatebootcd.com/

And many distros' install CDs are also rescue disks, which can run tools
like e2fsck on your / .  So if you have the original install media you
might look at that first.

--keith


-- 
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

[toc] | [prev] | [next] | [standalone]


#12421

FromKeith Keller <kkeller-usenet@wombat.san-francisco.ca.us>
Date2014-10-22 08:11 -0700
Message-ID<i2ukhbxq0o.ln2@goaway.wombat.san-francisco.ca.us>
In reply to#12420
On 2014-10-22, Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> wrote:
>
> http://www.ultimatebootcd.com/

Hmm, my memory must be funny; while this is a great tool to have, it may
not be the best linux rescue disk.  You should probably stick to one of
the other suggestions already posted in the thread.

--keith

-- 
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web