On Thu, Sep 12, 2024 at 01:21:12AM +0200, Florent Rougon wrote:
> Hi,
>
> Le 11/09/2024, Andy Smith a écrit:
>
> > Since booting from sdb wasn't working in any case, I thought I'd
> > experiment a bit. I copied the first 446 bytes of sda to sdb. This
> > made matters worse! Instead of a "grub> "
On Tuesday 10 September 2024 08:39:59 pm Andy Smith wrote:
> This does leave me wondering however, if the boot code in the mBR of
> sdb is now set to believe that this is "the second drive", I suppose
> (hd1) in grub terms? With the implication that should sda fail or be
> removed, this machine may
Hi,
Le 11/09/2024, Andy Smith a écrit:
> Since booting from sdb wasn't working in any case, I thought I'd
> experiment a bit. I copied the first 446 bytes of sda to sdb. This
> made matters worse! Instead of a "grub> " prompt, I just got a blank
> screen.
>
> I then rebooted from sda and did:
I
Hi,
On Wed, Sep 11, 2024 at 12:45:46AM +0200, Florent Rougon wrote:
> The partition table indeed starts at offset 446 (decimal), however I'd
> still rather run grub-install or “dpkg-reconfigure grub-pc” than copy
> the first 446 bytes from one drive to another drive. The reason is that,
> AFAIUI,
Le 10/09/2024, Andy Smith a écrit:
> Good point. I understand the bootloader is actually the first 446
> bytes so maybe I should only be looking at these.
>
> https://unix.stackexchange.com/a/254668/36243
The partition table indeed starts at offset 446 (decimal), however I'd
still rather run
Hi,
On Tue, Sep 10, 2024 at 03:58:58PM +0200, Florent Rougon wrote:
> Le 09/09/2024, Andy Smith a écrit:
> > Can I simply copy the first 512 bytes of sdb to the start of sda?
>
> I would not do this, one of the reasons being that AFAICT, the start
> offsets of the (up to 4) primary partitions of
Hi,
Not an expert on this matter, so take this with a grain of salt.
Le 09/09/2024, Andy Smith a écrit:
> Can I simply copy the first 512 bytes of sdb to the start of sda?
I would not do this, one of the reasons being that AFAICT, the start
offsets of the (up to 4) primary partitions of each d
On Mon, Sep 09, 2024 at 07:59:58PM +, Andy Smith wrote:
> I was kind of hoping that there would be something I could run which
> would say "yes, this MBR has grub v and is set to find its
> grub.cfg on (hdX)", then I might be able to see some difference in
> what the MBR of sda wants to do. I'm
Hi,
I've come into possession of a machine running Debian 10 with two
drives in it; sda and sdb. These have been labelled with a DOS MBR
and partitioned. The first partition starts at sector 2048 of both
drives (512 byte sectors). It appears that GRUB has been installed
on both sda and sdb:
$ sud
9 matches
Mail list logo