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


Groups > linux.debian.user > #180785

Re: attempt to read or write outside of disk 'hd0'

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: attempt to read or write outside of disk 'hd0'
Date 2017-05-06 22:20 +0200
Message-ID <tEelj-4b5-5@gated-at.bofh.it> (permalink)
References (3 earlier) <tE8zf-CU-11@gated-at.bofh.it> <tE9EZ-1kH-5@gated-at.bofh.it> <tEaB3-1Sz-15@gated-at.bofh.it> <tEcjv-31k-1@gated-at.bofh.it> <tEcWe-3eo-13@gated-at.bofh.it>
Organization JRE Trading Ltd

Show all headers | View raw


On Sat, 6 May 2017 20:41:28 +0200
Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

> Le 06/05/2017 à 20:06, Joe a écrit :
> >
> > Thanks, I'll have a go at that later. I'm currently bogged down in a
> > completely unrelated grub issue on a different (wheezy) machine: I
> > have an ext4 filesystem which passes fsck fine, to which I can
> > write, but which grub2 cannot see.
> >
> > The same grub rescue> prompt, ls can see the partitions, but grub2
> > cannot read the root one, says 'unknown filesystem'. An attempt to
> > reload after a chroot assures me that grub-probe cannot read it,
> > either. The grub-probe installed in the current Knoppix sees it as
> > 'ext2', which may be as much as I can hope for, but wheezy's
> > grub-probe cannot see it at all, presumably ext4 is too recent for
> > it.  
> 
> Ext4 was already the default filesystem type in Wheezy, and I have 
> happily used Wheezy and GRUB (1.99) on ext4 without any issue.
> 
> GRUB just report any ext2/3/4 filesystem as ext2.
> 

Yes, I realise that wheezy knows ext4, which is why it didn't occur to
me not to use it, but grub did say 'unknown filesystem', and it did work
when I switched to an ext3 root partition. The Net seems to indicate a
troubled relationship between grub-probe and ext4.

Well, it didn't work actually, it gave me a new and interesting error:
'bad filename' when I tried ls. But it accepted 'insmod normal', and
then the 'normal' command gave me a kernel menu.

All is somewhat well now, except that this machine was to be a testbed
for a wheezy->jessie upgrade. The upgrade went reasonably well, but
several important daemons (most notably samba and exim4) need new
configuration files and options, so it's pretty much a migration rather
than an upgrade anyway. Apache2 was easier than expected, initially it
would not run at all, but all it needed was a '+' sign in a crucial
place. Fussy. But it's 9PM now and I've had enough for today... many
thanks for your help and encouragement.

-- 
Joe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-05 23:40 +0200
  Re: attempt to read or write outside of disk 'hd0' Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-06 10:00 +0200
    Re: attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-06 10:40 +0200
      Re: attempt to read or write outside of disk 'hd0' Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-06 16:10 +0200
        Re: attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-06 17:20 +0200
          Re: attempt to read or write outside of disk 'hd0' Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-06 18:20 +0200
            Re: attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-06 20:10 +0200
              Re: attempt to read or write outside of disk 'hd0' Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-06 20:50 +0200
                Re: attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-06 22:20 +0200
            [SOLVED] attempt to read or write outside of disk 'hd0' Joe <joe@jretrading.com> - 2017-05-07 15:40 +0200

csiph-web