MBR to GPT + UEFI (was: From SSD to NVME)

2024-12-05 Thread Jeffrey Walton
ogical partition /dev/sda10 encrypted data > > So I could shrinken some partitions and create a new logical one. > > Other option would be, delete "swap" partition and make a new "EFI" partition. > > What do you think, might be the best

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-11 Thread Andy Smith
working boot from either drive. > The special value 0xFF is the one you had on both of your drives and > means “use the boot drive” Okay, that is good to know, thanks! > In any case, stage 1 can load some “stage 1.5” from “empty sectors (if > available) between the MBR and the fir

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-11 Thread Roy J. Tellason, Sr.
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 >

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-11 Thread Florent Rougon
gt; > I then rebooted from sda and did: I believe “sda” and “sdb” are swapped with respect to your first message. Of course, it's expected that these are not stable across reboots, however it's a bit confusing for me here. (...) > This does leave me wondering however, if the boot co

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Andy Smith
tage1 > code is to load the much larger stage2 boot program. When stage1 is > installed in the MBR, it is configured with the BIOS drive number and > the absolute LBA of the first sector of the stage2 file in the boot > partition. It loads that one sector into a fixed loca

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Florent Rougon
m for much function in the 446 bytes available for executable code in the boot sector. The sole function of this stage1 code is to load the much larger stage2 boot program. When stage1 is installed in the MBR, it is configured with the BIOS drive number and the absolute LBA of the first sec

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Andy Smith
the computer boots with BIOS, not UEFI. Yes, this machine boots with BIOS and MBR. To keep such machines (BIOS boot, multiple boot drives, MD RAID for redundancy once booted) in good booting health are people doing anything more sophisticated than remembering to run "dpkg-reconfigure grub-pc&

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-10 Thread Florent Rougon
ach drive are among these bytes. > I do not particularly want to run grub-install, as the MBR of sdb is > known good at the moment. Perhaps though I could run: > > $ sudo grub-install /dev/sda I believe so, although by habit I'd rather 'dpkg-reconfigure grub-pc' where you

Re: Matching grub data in the MBR with the installed grub-pc package

2024-09-09 Thread Andy Smith
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

Matching grub data in the MBR with the installed grub-pc package

2024-09-09 Thread Andy Smith
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 an

Re: Why MBR partitioning (was: Reasonably simple setup for 1...)

2021-12-15 Thread Thomas Schmitt
Hi, David Christensen wrote: > > So that you can boot the system drive in old and new computers -- e.g. > > MBR is "lowest common denominator". Felix Miata wrote: > I just found out from Asus that Intel 500 series chipsets do not support CSM. > Luckily my cloned

Re: Why MBR partitioning (was: Reasonably simple setup for 1...)

2021-12-14 Thread David Christensen
On 12/14/21 6:52 PM, Felix Miata wrote: David Christensen composed on 2021-12-14 18:40 (UTC-0800): Jorge P. de Morais Neto wrote: Why MBR partitioning So that you can boot the system drive in old and new computers -- e.g. MBR is "lowest common denominator". I just found out

Re: Why MBR partitioning (was: Reasonably simple setup for 1...)

2021-12-14 Thread Felix Miata
David Christensen composed on 2021-12-14 18:40 (UTC-0800): > Jorge P. de Morais Neto wrote: >> Why MBR partitioning > So that you can boot the system drive in old and new computers -- e.g. > MBR is "lowest common denominator". I just found out from Asus that Intel 5

Re: Installing GRUB to make a hybrid UEFI/MBR bootable USB stick

2021-03-03 Thread tomas
On Wed, Mar 03, 2021 at 04:52:49PM +0100, Nicolas George wrote: > Hi. > > I have written a howto on installing GRUB on an USB stick to make it > bootable both on UEFI and legacy MBR systems. Thanks, that sounds very useful :) Cheers - t signature.asc Description: Digital signature

Installing GRUB to make a hybrid UEFI/MBR bootable USB stick

2021-03-03 Thread Nicolas George
Hi. I have written a howto on installing GRUB on an USB stick to make it bootable both on UEFI and legacy MBR systems. It allows to install multiple ISO images of live distros as plain files in an unobtrusive directory while keeping the stick usable to carry around vacation photos, torrents of

Re: UEFI and legacy MBR

2020-11-21 Thread mick crane
On 2020-11-21 11:29, mick crane wrote: hello, I'm having a bit of bother trying to install windows and Bullseye on PC. never mind it all seems to be working mick -- Key ID4BFEBB31

UEFI and legacy MBR

2020-11-21 Thread mick crane
s and install bullseye on SSD from bullseye DVD 1, wanting to use other HDD for data. Installer won't install desktop environment if I just select XFCE but is probably another matter. Grub was complaining about mixing EFI with MBR disk. I try to start again but if selecting UEFI menu in PC bio

MAG CITY Townhouses MEYDAN MBR City District-7

2020-07-30 Thread MAG CITY
If you have trouble viewing this email, read the online version. [http://app.marketing.magpd.com/e/es.aspx?s=984077094&e=9981&elq=c4ce5123b42b4b9e8cfa709efe21855a]

Re: How do I get the mbr package to do its job quietly?

2020-07-07 Thread Gerald
Content-multipart/mixed; boundary="Add_By_Label_Mail_Nextpart_001"co-Id: <201004090646.49565.gcsgcatl...@bigpond.com> X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.4BBE40C0.008E,ss=1,fgs=0 X-SIH-MSG-ID: rhA2EdT4TFenhzMpiiG5aFkEkFWz4S51tYFBBI50qBgcUkfLvt/W

Re: about debian installation on gpt and mbr hard drive

2020-03-11 Thread deloptes
d fellow is OK :) > Can someone please confirm to me once and for all if I'm correct with > these assumptions regarding debian installation on hard drives: > > 1. If the hdd has an MBR partition style, that hdd needs to have a FAT32 > partition, flagged as esp and with mount

8TB brick [was Re: about debian installation on gpt and mbr hard drive]

2020-03-11 Thread David Christensen
On 2020-03-11 14:55, Cindy Sue Causey wrote: > Mine USED to > boot FINE, **NO** PROBLEMS, with something likely similarly different > per each of us as users with our hardware. I booted Buster and > Bullseye a few times.. > > THEN, WHAM, everything permanently went to pot on the first reboot > aft

Re: about debian installation on gpt and mbr hard drive

2020-03-11 Thread David Christensen
On 2020-03-11 11:59, kaye n wrote: Hello Friends! Can someone please confirm to me once and for all if I'm correct with these assumptions regarding debian installation on hard drives: 1. If the hdd has an MBR partition style, that hdd needs to have a FAT32 partition, flagged as esp and

Re: about debian installation on gpt and mbr hard drive

2020-03-11 Thread Cindy Sue Causey
On 3/11/20, Linux-Fan wrote: > kaye n writes: > >> Hello Friends! >> >> Can someone please confirm to me once and for all if I'm correct with >> these >> assumptions regarding debian installation on hard drives: >> > > In case a FAT32 partition is needed for booting (see further below), it > needs

Re: about debian installation on gpt and mbr hard drive

2020-03-11 Thread Linux-Fan
kaye n writes: Hello Friends! Can someone please confirm to me once and for all if I'm correct with these assumptions regarding debian installation on hard drives: 1.  If the hdd has an MBR partition style, that hdd needs to have a FAT32 partition, flagged as esp and with mount poi

about debian installation on gpt and mbr hard drive

2020-03-11 Thread kaye n
Hello Friends! Can someone please confirm to me once and for all if I'm correct with these assumptions regarding debian installation on hard drives: 1. If the hdd has an MBR partition style, that hdd needs to have a FAT32 partition, flagged as esp and with mount point at /boot/efi. If th

Re: MBR partitioning, and content after partition table but before first partition

2017-03-15 Thread Jonathan Dowland
On Mon, Mar 13, 2017 at 08:36:59PM -0700, David Christensen wrote: > >and the destination ended up bigger, > >possibly because one or more of the backups on the source had been using some > >kind of hardlink de-dupe (I've ranted about hardlink trees being a problem in > >various backup topics on -u

Re: MBR partitioning, and content after partition table but before first partition

2017-03-14 Thread Andy Smith
Hello, On Mon, Mar 13, 2017 at 08:36:59PM -0700, David Christensen wrote: > Is anyone aware of a utility that can walk a file system and replace > identical files with hard links? As an alternative to doing this, you could consider using a filesystem with block-level de-duplication support. ZFS

Re: MBR partitioning, and content after partition table but before first partition

2017-03-14 Thread David Christensen
On 03/14/2017 04:52 AM, The Wanderer wrote: On 2017-03-13 at 23:36, David Christensen wrote: Is anyone aware of a utility that can walk a file system and replace identical files with hard links? Try rdfind. It's in Debian; I don't use it myself, largely because the (accepted upstream years a

Re: MBR partitioning, and content after partition table but before first partition

2017-03-14 Thread David Christensen
On 03/14/2017 03:34 AM, David wrote: On 14 March 2017 at 14:36, David Christensen wrote: Doing a quick test, it appears that rsync copies hard linked files as if each were a different file: rsync -a hard-link-1/ hard-link-2 Here, 'man rsync' says: "Note that -a does not preserve hardlinks,

Re: MBR partitioning, and content after partition table but before first partition

2017-03-14 Thread The Wanderer
On 2017-03-13 at 23:36, David Christensen wrote: > On 03/13/2017 02:01 AM, Jonathan Dowland wrote: > >> On Fri, Mar 10, 2017 at 10:00:45PM -0800, David Christensen wrote: >> and the destination ended up bigger, possibly because one or more >> of the backups on the source had been using some kind

Re: MBR partitioning, and content after partition table but before first partition

2017-03-14 Thread David
On 14 March 2017 at 14:36, David Christensen wrote: > > Doing a quick test, it appears that rsync copies hard linked files as if > each were a different file: > > rsync -a hard-link-1/ hard-link-2 Here, 'man rsync' says: "Note that -a does not preserve hardlinks, because finding multiply-linked f

Re: MBR partitioning, and content after partition table but before first partition

2017-03-13 Thread David Christensen
On 03/13/2017 02:01 AM, Jonathan Dowland wrote: On Fri, Mar 10, 2017 at 10:00:45PM -0800, David Christensen wrote: I'd always put a step 0) in there: is imaging what you want to do? Consider a file-level backup with rsync (etc etc, as discussed elsewhere in this thread) I do imaging for system

Re: MBR partitioning, and content after partition table but before first partition

2017-03-13 Thread Jonathan Dowland
On Fri, Mar 10, 2017 at 10:00:45PM -0800, David Christensen wrote: > >I'd always put a step 0) in there: is imaging what you want to do? Consider > >a file-level backup with rsync (etc etc, as discussed elsewhere in this > >thread) > > I do imaging for system disks. I do backups and archives for

Re: MBR partitioning, and content after partition table but before first partition

2017-03-10 Thread David Christensen
On 03/10/2017 12:49 AM, Jonathan Dowland wrote: On Thu, Mar 09, 2017 at 09:04:56PM -0800, David Christensen wrote: I use LUKS swap (random key) and root (passphrase). I think it's the piece of the boot chain that gives me the LUKS prompt for root (before the GRUB menu). You get that prompt *b

Re: MBR partitioning, and content after partition table but before first partition

2017-03-10 Thread Jonathan Dowland
On Thu, Mar 09, 2017 at 09:04:56PM -0800, David Christensen wrote: > I use LUKS swap (random key) and root (passphrase). I think it's the piece > of the boot chain that gives me the LUKS prompt for root (before the GRUB > menu). You get that prompt *before* GRUB? I use LUKS everywhere and only g

Re: MBR partitioning, and content after partition table but before first partition

2017-03-09 Thread David Christensen
ation that puts Grub in the MBR instead of on a primary partition with its boot flag set, along with generic code in the MBR. 2017-03-09 20:22:00 root@jesse ~ # dd if=/dev/sda skip=1 count=100 2>/dev/null | file - /dev/stdin: data 2017-03-09 20:22:38 root@jesse ~ # dd if=/dev/sda skip=1 cou

Re: MBR partitioning, and content after partition table but before first partition

2017-03-09 Thread Jonathan Dowland
On Wed, Mar 08, 2017 at 09:46:32PM -0800, David Christensen wrote: > What is in blocks 1-101? I believe it's part of grub. My limited understanding of how it works is it's split up into separate stages designed to fit within the "holes" in a typical MBR layout, each stag

Re: MBR partitioning, and content after partition table but before first partition

2017-03-08 Thread Thomas Schmitt
oldfashioned layout. Bad for disks with blocksize larger than 512 bytes, because of the odd block count. > 01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa This is the end of the MBR. The first partition slot is at address 01be. > 7c00 12 91 f2 60 90 a0 2f 1

Re: MBR partitioning, and content after partition table but before first partition

2017-03-08 Thread Felix Miata
There is content in the first 101 blocks (1 MBR plus 100 other): 2017-03-08 21:30:06 root@jesse ~ # dd if=/dev/sda count=2048 2>/dev/null | hexdump -C | tail ... What is in blocks 1-101? Was that disk ever used for anything besides Jessie, not new or wiped first? Run strings on it or view

MBR partitioning, and content after partition table but before first partition

2017-03-08 Thread David Christensen
On 03/08/2017 03:02 AM, Thomas Schmitt wrote: David Christensen wrote: AFAIK when using MBR partitioning, the partition table (blocks 0-62) The MBR partition table resides in the first 512-bytes block. It may be extended by a chain of partitions starting at the Extended Partition of the MBR

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread L V Gandhi
On Sat, Jul 21, 2012 at 6:20 PM, Chris Bannister wrote: > On Sat, Jul 21, 2012 at 08:02:49AM +0530, L V Gandhi wrote: >> I have already installed windows xp and squeezei386 with grub in MBR. >> I would like install squeeze amd64 in other partition for multi boot. >> If I inst

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread Chris Bannister
On Sat, Jul 21, 2012 at 08:02:49AM +0530, L V Gandhi wrote: > I have already installed windows xp and squeezei386 with grub in MBR. > I would like install squeeze amd64 in other partition for multi boot. > If I install grub in MBR while installing squeezeamd64, then how do I > boot sq

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread Joe
On Sat, 21 Jul 2012 14:56:07 +0530 L V Gandhi wrote: > > thanks. what I am doubting is not about finding other OSes while > installing new OS squeezeamd64, but about the squeezei386 whose grub > is now in MBR. When I install new squeezeamd64 if it over writes MBR, > then old sque

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread Peter Hillier-Brook
and squeezei386 with grub in MBR. I would like install squeeze amd64 in other partition for multi boot. If I install grub in MBR while installing squeezeamd64, then how do I boot squeezei386 as its boot info is not in its partition boot sector. How should I go about to boot all the three OSes

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread Camaleón
On Sat, 21 Jul 2012 08:02:49 +0530, L V Gandhi wrote: > I have already installed windows xp and squeezei386 with grub in MBR. I > would like install squeeze amd64 in other partition for multi boot. If I > install grub in MBR while installing squeezeamd64, then how do I boot > squeez

Re: Problems of Second writing of MBR with GRUB

2012-07-21 Thread L V Gandhi
m(it usually adds ones you don't necessarily don't want like restore > partitions.) Worst case scenario is you would have to add them to the grub > config files in /etc/grub.d > > Shane > > On Fri, Jul 20, 2012 at 8:32 PM, L V Gandhi wrote: >> >> I have alre

Re: Problems of Second writing of MBR with GRUB

2012-07-20 Thread Shane Johnson
2012 at 8:32 PM, L V Gandhi wrote: >> >>> I have already installed windows xp and squeezei386 with grub in MBR. >>> I would like install squeeze amd64 in other partition for multi boot. >>> If I install grub in MBR while installing squeezeamd64, then how do I

Re: Problems of Second writing of MBR with GRUB

2012-07-20 Thread Shane Johnson
tore partitions.) Worst case scenario is you would have to add them to the grub config files in /etc/grub.d Shane On Fri, Jul 20, 2012 at 8:32 PM, L V Gandhi wrote: > I have already installed windows xp and squeezei386 with grub in MBR. > I would like install squeeze amd64 in other par

Problems of Second writing of MBR with GRUB

2012-07-20 Thread L V Gandhi
I have already installed windows xp and squeezei386 with grub in MBR. I would like install squeeze amd64 in other partition for multi boot. If I install grub in MBR while installing squeezeamd64, then how do I boot squeezei386 as its boot info is not in its partition boot sector. How should I go

Re: Installing the MBR on a new Hard Drive

2012-04-26 Thread Martin McCormick
u have already done it differently, you don't need to dd > the mbr. Instead, install grub on the new drive (again, boot from a live > distro). Create a chroot environment for your new / partition and install > grub from it. Thanks for the good suggestions. I have one more old s

Re: Installing the MBR on a new Hard Drive

2012-04-26 Thread Gary Dale
e new drive, made Partition 1 bootable and then used rsync to copy all the files one can from the old drive to the new one. It came time to install a MBR on the new drive so I found some instructions which raise a question. I know you are supposed to copy the image of a boot floppy t

Re: Installing the MBR on a new Hard Drive

2012-04-26 Thread Martin McCormick
Very sorry for the duplicate posting. It looked like the first attempt bounced so I re-sent it and both worked. Martin -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org

Installing the MBR on a new Hard Drive

2012-04-26 Thread Martin McCormick
rsync to copy all the files one can from the old drive to the new one. It came time to install a MBR on the new drive so I found some instructions which raise a question. I know you are supposed to copy the image of a boot floppy to the first 446 bytes of the new drive which is w

Installing the MBR on a new Hard Drive

2012-04-26 Thread Martin McCormick
rsync to copy all the files one can from the old drive to the new one. It came time to install a MBR on the new drive so I found some instructions which raise a question. I know you are supposed to copy the image of a boot floppy to the first 446 bytes of the new drive which is w

Re: restoring MBR

2011-08-01 Thread Andrew McGlashan
disk signature (optional)4 444 Usually nulls; 0x2 446 Table of primary partitions [1] 64 510 55h MBR Signature 511 AAh 0xAA55h2 [1] Four 16-byte entries, IBM partition table scheme. NB: this is further described

Re: restoring MBR

2011-08-01 Thread Andrew McGlashan
Aaron Toponce wrote: It's not that difficult, if you understand haw MSDOS partitioning is setup under GNU/Linux. The first 446 bytes are your boot loader. The next 64 bytes are your partition table. If you wish to backup just the bootloader, it's easy with dd(1): Okay, 446 + 64 adds to 510, wha

Re: restoring MBR

2011-08-01 Thread Stephen Powell
On Mon, 01 Aug 2011 07:06:09 -0400 (EDT), Camaleón wrote: > > If you add encryption to the equation things can be even worst. I assume you mean "worse". I agree. I hate full-volume encryption. > > While I agree that "playing" (backing and restoring) with MBR

Re: restoring MBR

2011-08-01 Thread Camaleón
On Sun, 31 Jul 2011 16:50:35 -0400, Stephen Powell wrote: > On Sun, 31 Jul 2011 11:30:38 -0400 (EDT), Camaleón wrote: >> ... >> But regardless the option the user select at install time (do not >> install any bootloader, install it in a partition or another place or >&g

wallpaper desktop files on Debian [was restoring MBR]

2011-07-31 Thread Tomas Kral
: > > > > Not sure if I am quite in the subject. > > > > > > But in the old Potato days, the installer always asked to stick in a > > > floppy disk to write a new MBR on it. > > You can't store a wallpaper on a "floppy disk". > > Qu

Re: restoring MBR

2011-07-31 Thread Stephen Powell
y should save a hard copy of their > partition table. Sholud you wipe that out, if you know the starting and > ending of each partition, you can recreate the table, and get back at your > data. This can be easily accomplished with fdisk(8): > > # fdisk -l /dev/sda > /tmp/partit

Re: restoring MBR

2011-07-31 Thread Stephen Powell
On Sun, 31 Jul 2011 11:30:38 -0400 (EDT), Camaleón wrote: > ... > But regardless the option the user select at install time (do not install > any bootloader, install it in a partition or another place or just > putting it into MBR), it would be nice the installer makes a copy of the

OT - boot floppy (was restoring MBR)

2011-07-31 Thread Stephen Powell
On Sun, 31 Jul 2011 11:19:31 -0400 (EDT), Tomas Kral wrote: > > Not sure if I am quite in the subject. > > But in the old Potato days, the installer always asked to stick in a > floppy disk to write a new MBR on it. Leaving hard drive untouched. The maintainer scripts for kernel

Re: restoring MBR

2011-07-31 Thread Sthu Deus
Hi, Ralf: >I've got for my bullshit PC Is it absolutely necessary to use such wording?! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e358a36.8326cc0a.2e90.3...@m

Re: restoring MBR

2011-07-31 Thread Ralf Mardorf
the old Potato days, the installer always asked to stick in a > > floppy disk to write a new MBR on it. If you use such a term as "floppy disk" you should explain what a "floppy disk" is ;). I'm a dino too, but a "floppy disk"-drive isn't something I&#

Re: restoring MBR

2011-07-31 Thread Camaleón
On Sun, 31 Jul 2011 17:57:57 +0200, Tomas Kral wrote: > On Sun, 2011-07-31 at 17:30 +0200, Camaleón wrote: (...) >> But regardless the option the user select at install time (do not >> install any bootloader, install it in a partition or another place or >> just putting i

Re: debian-user-digest Digest V2011 #1449, resp. Re: restoring MBR and 2.6.39-amd64 lvm-based root: fails to boot

2011-07-31 Thread Tom H
On Sun, Jul 31, 2011 at 11:28 AM, Ralf Mardorf wrote: > > Since this list allows HTML, we should use it, instead of using cryptic lines > including the backslash. There's nothing cryptic about backslashes. >From the "Code of Conduct" section of http://www.debian.org/MailingLists/ "Never send you

Re: restoring MBR

2011-07-31 Thread Tomas Kral
>>>>> bs=512 \ > >> >>>>> count=1 >> $LOG 2>&1 > >> > > >> > Okay, well this script isn't perfect and it sure won't help after the > >> > problem, but it will save all possible MB

Re: debian-user-digest Digest V2011 #1449, resp. Re: restoring MBR and 2.6.39-amd64 lvm-based root: fails to boot

2011-07-31 Thread Camaleón
On Sun, 31 Jul 2011 17:28:22 +0200, Ralf Mardorf wrote: >> > > On Sat, July 30, 2011 6:40 am, Camaleón wrote: >> > >>>>> One of my (home made) overnight cron jobs does this: > > > Very important is "overnight cron jobs"! From time to

Re: debian-user-digest Digest V2011 #1449, resp. Re: restoring MBR and 2.6.39-amd64 lvm-based root: fails to boot

2011-07-31 Thread Ralf Mardorf
> > Forwarded Message > > From: Camaleón > > To: debian-user@lists.debian.org > > Subject: Re: restoring MBR > > Date: Sun, 31 Jul 2011 12:06:14 + (UTC) > > > On Sat, July 30, 2011 6:40 am, Camaleón wrote: > > >>>

Re: restoring MBR

2011-07-31 Thread Camaleón
;> > >> > Okay, well this script isn't perfect and it sure won't help after the >> > problem, but it will save all possible MBRs and fdisk output for a >> > bunch of candidate disks: >> >> (...) >> >> This should be done _at install

Re: restoring MBR

2011-07-31 Thread Tomas Kral
> > problem, but it will save all possible MBRs and fdisk output for a bunch > > of candidate disks: > > (...) > > This should be done _at install time_ when things can badly break. Once > you've lost your MBR making a backup of the _wrong_ MBR is of course > u

Re: restoring MBR

2011-07-31 Thread Camaleón
bin \ >>>>> bs=512 \ >>>>> count=1 >> $LOG 2>&1 > > Okay, well this script isn't perfect and it sure won't help after the > problem, but it will save all possible MBRs and fdisk output for a bunch > of candidate dis

Re: restoring MBR

2011-07-31 Thread Andrew McGlashan
; $LOG 2>&1 Okay, well this script isn't perfect and it sure won't help after the problem, but it will save all possible MBRs and fdisk output for a bunch of candidate disks: #!/bin/bash AWK=/usr/bin/awk BASENAME=/usr/bin/basename CAT=/bin/cat DD=/bin/dd FDISK=/sbin/fdi

Re: restoring MBR

2011-07-31 Thread Baurzhan Ismagulov
On Sun, Jul 31, 2011 at 06:27:18PM +1000, Scott Ferguson wrote: > > I've installed Squeeze to a USB drive, and grub2 installed itself to the > > internal hard drive. Now I can't boot from the internal drive since it > > has encryption software checking some so

Re: restoring MBR

2011-07-31 Thread Scott Ferguson
On 29/07/11 21:28, Baurzhan Ismagulov wrote: > Hello, > > I've installed Squeeze to a USB drive, and grub2 installed itself to the > internal hard drive. Now I can't boot from the internal drive since it > has encryption software checking some sort of CRC of the MBR. I

Re: restoring MBR

2011-07-31 Thread Francois Cerbelle
Hi All, What about the mbr package and the "install-mbr " command ? This MBR is wonderfull, it does exactly what is waited if you dont press any key : boot on the flaged partition, but you can also press a key and choose another partition (not flagged) to boot from (even a floppy

Re: restoring MBR

2011-07-30 Thread consul tores
s too late for the OP in this case. > > -- >  .''`.     Stephen Powell >  : :'  : >  `. `'` >   `- Maybe, there is another way: - at the machine: c:\ fdisk /mbr as it has been said before. - you could look for GAG in a floppy, then boot from it. - you can boot from Debian ne

Re: restoring MBR

2011-07-30 Thread Stephen Powell
On Sat, 30 Jul 2011 07:34:44 -0400 (EDT), Baurzhan Ismagulov wrote: > > That's a pity. IIRC, lilo used to save that under /boot. It still does. And lilo is still available. And I still use it. Unfortunately, it's too late for the OP in this case. -- .''`. Stephen Powell : :' : `.

Re: restoring MBR

2011-07-30 Thread Scott Ferguson
post for dealing with restoring your Windoof XP boot record. > > >>> Now I can't boot from the internal drive since it >>> has encryption software checking some sort of CRC of the MBR. Encryption and CRC are different things. No matter. >>>Is the backup of the MBR a

Re: restoring MBR

2011-07-30 Thread Baurzhan Ismagulov
t from the USB drive? IIRC, no. > > Now I can't boot from the internal drive since it > > has encryption software checking some sort of CRC of the MBR. Is the > > backup of the MBR available somewhere in the Linux rootfs? > > No. That's a pity. IIRC, lilo used to s

Re: restoring MBR

2011-07-29 Thread Scott Ferguson
Now I can't boot from the internal drive since it > has encryption software checking some sort of CRC of the MBR. Is the > backup of the MBR available somewhere in the Linux rootfs? No. But it "sounds" like the problem "might" be your BIOS. Have a look and see if you

Re: restoring MBR

2011-07-29 Thread Joe
e since it has encryption software checking some sort of CRC of > > the MBR. Is the backup of the MBR available somewhere in the Linux > > rootfs? > > There is no backup of the MBR made. You're rather expected to do your > own. > As a matter of general principle

Re: restoring MBR

2011-07-29 Thread Brian
On Fri 29 Jul 2011 at 13:28:48 +0200, Baurzhan Ismagulov wrote: > I've installed Squeeze to a USB drive, and grub2 installed itself to the > internal hard drive. Now I can't boot from the internal drive since it > has encryption software checking some sort of CRC of the MBR.

Re: restoring MBR

2011-07-29 Thread Camaleón
=$DST/mbr_backup.bin \ >>> bs=512 \ >>> count=1 >> $LOG 2>&1 >> >> Good, but there is no cron job at install time :-P >> >> I mean, ideally, the installer should perform automatically a backup of >> the MBR for all of the

Re: restoring MBR

2011-07-29 Thread Walter Hurry
ood, but there is no cron job at install time :-P > > I mean, ideally, the installer should perform automatically a backup of > the MBR for all of the detected hard disks "just in case". What the user > does afterwards is not the business of the operating system (while I > agree

Re: restoring MBR

2011-07-29 Thread Camaleón
rnight cron jobs does this: > > dd if=/dev/sda \ > of=$DST/mbr_backup.bin \ > bs=512 \ > count=1 >> $LOG 2>&1 Good, but there is no cron job at install time :-P I mean, ideally, the installer should perform automatically a backup of the MBR

Re: restoring MBR

2011-07-29 Thread Walter Hurry
have? > >> Now I can't boot from the internal drive since it has encryption >> software checking some sort of CRC of the MBR. > > You should ask to the manufacturer/developer of that software/BIOS. But > if it's a windows partition, "fixmbr" should ju

Re: restoring MBR

2011-07-29 Thread Camaleón
> software checking some sort of CRC of the MBR. You should ask to the manufacturer/developer of that software/BIOS. But if it's a windows partition, "fixmbr" should just do it. > Is the backup of the MBR available somewhere in the Linux rootfs? Good question. It should.

Re: restoring MBR

2011-07-29 Thread Mahesh T Pai
Baurzhan Ismagulov writes: > Hello, > > I've installed Squeeze to a USB drive, and grub2 installed itself to the > internal hard drive. Now I can't boot from the internal drive since it > has encryption software checking some sort of CRC of the MBR. Is the >

restoring MBR

2011-07-29 Thread Baurzhan Ismagulov
Hello, I've installed Squeeze to a USB drive, and grub2 installed itself to the internal hard drive. Now I can't boot from the internal drive since it has encryption software checking some sort of CRC of the MBR. Is the backup of the MBR available somewhere in the Linux rootfs? Pleas

Re: Wheezy install - grub wont write to MBR with RAID and LVM - SOLVED

2011-07-08 Thread S Scharf
LVM on the RAID partitions. > With this configuration, I get an error that grub cannot be installed to > the MBR. (I have tried both a MSDOS partition table, and a > GPT partition table with a grub-bios partition at the start of the disk. > > If I try an non-raid config (the defa

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-08 Thread Camaleón
On Fri, 08 Jul 2011 06:33:50 -0400, Tom H wrote: > On Thu, Jul 7, 2011 at 10:37 AM, Camaleón wrote: (...) I don't fear dmarid but manufacturer's BIOSes that can make use non- standard ways of handling hard disk controller data. You know, they don't provide open specs for devels c

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-08 Thread Tom H
On Thu, Jul 7, 2011 at 10:37 AM, Camaleón wrote: > On Thu, 07 Jul 2011 04:01:21 -0400, Tom H wrote: >> On Wed, Jul 6, 2011 at 12:51 PM, Camaleón wrote: > > (...) > > Linux software raid (md) is a more safe approach than using the BIOS > fakeraid facility (dm). This may or may no

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-07 Thread Camaleón
On Thu, 07 Jul 2011 04:01:21 -0400, Tom H wrote: > On Wed, Jul 6, 2011 at 12:51 PM, Camaleón wrote: (...) Linux software raid (md) is a more safe approach than using the BIOS fakeraid facility (dm). >>> >>> This may or may not convince you that dmraid's OK: you can manage >>> dmraid v

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-07 Thread Tom H
On Wed, Jul 6, 2011 at 8:29 PM, darkestkhan wrote: > > From what I know you GRUB won't work installed on LVM or software > RAID, it has to be installed on normal /boot partition or on hardware > RAID. Incorrect. :( See my previous post in this thread. -- To UNSUBSCRIBE, email to debian-user-r

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-07 Thread Tom H
On Wed, Jul 6, 2011 at 12:51 PM, Camaleón wrote: > On Wed, 06 Jul 2011 12:33:14 -0400, Tom H wrote: >> On Wed, Jul 6, 2011 at 11:49 AM, Camaleón wrote: >>> On Wed, 06 Jul 2011 10:14:14 -0400, S Scharf wrote: 2) The Motherboard has Intel Raid support. If I enable the motherboard Rai

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-06 Thread darkestkhan
>From what I know you GRUB won't work installed on LVM or software RAID, it has to be installed on normal /boot partition or on hardware RAID. darkestkhan -- Feel free to CC me. jid: darkestk...@gmail.com May The Source be with You. -- To UNSUBSCRIBE, ema

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-06 Thread lee
Camaleón writes: > On Wed, 06 Jul 2011 10:14:14 -0400, S Scharf wrote: > > (...) > >> 2) The Motherboard has Intel Raid support. If I enable the motherboard >> Raid, the installer does not see the raid disk. (for that matter neither >> does my systemrescuecd, but a Ubuntu 11.4 live boot can see i

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-06 Thread Camaleón
On Wed, 06 Jul 2011 12:33:14 -0400, Tom H wrote: > On Wed, Jul 6, 2011 at 11:49 AM, Camaleón wrote: >> On Wed, 06 Jul 2011 10:14:14 -0400, S Scharf wrote: >>> >>> 2) The Motherboard has Intel Raid support. If I enable the motherboard >>> Raid, the installer does not see the raid disk. (for that m

Re: Wheezy install - grub wont write to MBR with RAID and LVM

2011-07-06 Thread Tom H
On Wed, Jul 6, 2011 at 11:49 AM, Camaleón wrote: > On Wed, 06 Jul 2011 10:14:14 -0400, S Scharf wrote: >> >> 2) The Motherboard has Intel Raid support. If I enable the motherboard >> Raid, the installer does not see the raid disk. (for that matter neither >> does my systemrescuecd, but a Ubuntu 11

  1   2   3   4   >