On Wed, Mar 16, 2011 at 04:29:32PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 16.03.2011 16:13, Lennart Sorensen wrote:
> > I am trying to figure out why grub2 (from Debian Squeeze) gives an 'out
> > of disk' error when trying to boot from the HD
I am trying to figure out why grub2 (from Debian Squeeze) gives an 'out
of disk' error when trying to boot from the HD after doing an install.
It ends up at a grub rescue prompt, given it can't even read the disk
well enough to load the full grub. Doing ls shows the disks, and I can
show the root
On Mon, Jan 31, 2011 at 08:31:38PM -0500, Phillip Susi wrote:
> What do you mean help?
If the raid stores the raid info at the end, then the data starts at
sector 0. So no space for a bootloader at all.
> It is left empty afaik, which is the whole point of shifting it over to 4kb.
Certainly mak
On Mon, Jan 31, 2011 at 02:21:51PM -0500, Phillip Susi wrote:
> That is why I asked what the partition table should look like. When
> grub is installed there will be one ( and boot code ), the question is
> whether it should be empty, or have a protective partition that claims
> the entire disk, l
On Mon, Jan 31, 2011 at 11:44:07AM -0500, Phillip Susi wrote:
> I know you went on vacation over the new year, but it has been about two
> months now so I figured I would try to revive this conversation.
>
> Having collected my thoughts, this is what I propose:
>
> I believe that right now, grub
On Tue, Nov 23, 2010 at 09:08:04PM +0100, Søren Grønning Iversen wrote:
> It's the 32-bit version of the first generation Mac Pro and it's
> actualy already booting properly - but last time I checked, the multboot
> feature didn't work ...
>
> Regular boot via EFI works like a charm!
Well tha
On Tue, Nov 23, 2010 at 07:25:06PM +0100, Søren Grønning Iversen wrote:
> I have had no issues at all with grub2 on bios based PCs (only a small
> issue with the Xen pv-ops dom0 kernel needing a kernel mode line to boot
> correctly, but I always custom compile these kernels anyhow, so that was
On Tue, Nov 23, 2010 at 06:55:15PM +0100, Søren Grønning Iversen wrote:
> I have existing well functioning Xen setups that I'd like to transfer
> to this Mac Pro, but the only bit that seems to block this move is the
> capabilities of GRUB2-EFI concerning multiboot functionality.
Oh, are you
On Tue, Nov 23, 2010 at 04:54:16PM +0100, Søren Grønning Iversen wrote:
> Hi everyone,
>
> Has anybody had any success multibooting a bootia32.efi setup with Xen
> on a Mac Pro / Xserve?
>
> I have a MacPro1,1 (dual processor dual core Xeon 2.0 GHz) booting
> nicely with bootia32.efi, but woul
On Tue, Sep 28, 2010 at 10:58:31PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 09/28/2010 10:07 PM, Lennart Sorensen wrote:
> > On Tue, Sep 28, 2010 at 09:43:25PM +0200, Vladimir 'φ-coder/phcoder'
> > Serbinenko wrote:
> >
> >>
On Tue, Sep 28, 2010 at 09:43:25PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> GPT has new types.
GPT has an msdos partition type for itself for use in hybrid setups.
I know GPT partition tables have new types, but GPT itself has a type
reserved in the old dos partition table.
> in msd
On Tue, Sep 28, 2010 at 09:05:21PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> Using an embedding partition on msdos as an optional alternative (not as
> replacement) to MBR gap is a clear possibility, good idea and was
> proposed before but details are very unclear. Like:
> - How to cre
On Mon, Sep 27, 2010 at 11:44:10PM -0500, richardvo...@gmail.com wrote:
> Is it a security hole if the linux superuser can write to /dev/sda ? If you
> block this level of access, how's fdisk (or any number of other partition
> managers) supposed to do its job? How's one supposed to install grub
On Tue, Sep 28, 2010 at 02:10:20AM -0700, Bogdan wrote:
> Only one of the 4 primary partitions can be active. So, turn whatever is not
> needed into an extended partition. What tools with this screw over? Or, are
> we
> talking about OSes that don't support extended partitions here?
That would
On Mon, Sep 27, 2010 at 05:10:23PM -0400, Phillip Susi wrote:
> On 9/27/2010 12:12 PM, Colin Watson wrote:
> >> So you are adding bit error detection and correction to the boot loader?
> >> You realize that the hard disk already does reed-solomon right? So a
> >> second layer of it doesn't seem t
On Thu, Sep 23, 2010 at 11:19:24PM +0100, Colin Watson wrote:
> Hi Richard,
>
> We've had some (amicable!) disagreements in the GRUB development team
> regarding a question of how far we should go out of our way to avoid
> conflicts with certain types of mainly proprietary software, and
> Vladimir
On Wed, Sep 22, 2010 at 06:52:46PM +0200, Thomas Frauendorfer wrote:
> Well, I think I didn't state the problem clearly enough:
> The bios doesn't write to the disk, it just changes the value on the
> fly when the bootloader is reading the bpb through a bios method.
> The workaroud also doesn't cha
On Wed, Sep 22, 2010 at 07:08:49PM +0200, Grégoire Sutre wrote:
> On 09/22/2010 18:44, Lennart Sorensen wrote:
>
>> After all msdos partitions tables may only exist in MBR and extended
>> partitions
>
> According to which standard?
Well, I think DOS and common practice.
On Wed, Sep 22, 2010 at 12:19:22PM -0400, Phillip Susi wrote:
> This sounds like a bug in grub. It should not be looking for an EBR
> inside a non extended partition, so if there happens to be some old data
> there that looks like one, it should not matter.
Well it would appear that it does curre
On Wed, Sep 22, 2010 at 05:45:34PM +0200, Thomas Frauendorfer | Miray Software
wrote:
> On some boards, like the AsRock K7S41GX, Grub fails to boot from
> superfloppy fat32 formated usb sticks.
>
> The reason for the boot failure is that the bios of the mentioned
> board replaces byte 0x24
On Tue, Sep 21, 2010 at 10:29:35PM +0200, Svante Signell wrote:
> I see my mistake of output file in my previous mail, it should read /dev/sda3
> instead
> of /tmp/sda3, right?
>
> dd if=/dev/zero of=/dev/sda3 bs=512 count=1
Right.
--
Len Sorensen
On Tue, Sep 21, 2010 at 09:42:14PM +0200, Svante Signell wrote:
> Yes, if I remember correctly, that's what I did some time ago, when
> installing a new disk for /home.
>
> > If so, then there is a chance that the first sector of sda3 contains
> > the old extended partition table, and grub probe m
On Tue, Sep 21, 2010 at 09:31:16AM +0200, Svante Signell wrote:
> I should have posted to help-grub, but I am not subscribed to that list,
> only grub-devel.
>
> Can somebody please help me with the following problem:
> (I have asked on Debian lists, and also filed a bug #594158 but no
> response
On Fri, Sep 10, 2010 at 09:46:53AM +0200, lode leroy wrote:
> I think it would be helpful if a command existed to install grub from grub,
> given a directory /boot/grub/ already present, i.e. Write boot sector+stage1
> to the disk. It may be easy to copy files onto the filesystem, but not-so-easy
On Tue, Aug 31, 2010 at 09:31:13PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 08/31/2010 09:05 PM, John Lumby wrote:
> First of all please avoid sending HTML-formatted mails to this list.
> > Anyone know if any work is being done on implementing a netboot
> > function into GRUB2 simi
On Tue, Aug 31, 2010 at 03:05:43PM -0400, John Lumby wrote:
> Anyone know if any work is being done on implementing a netboot function into
> GRUB2 similar to what is available in GRUB1?I.e.,
>. supports current network hardware with self-contained drivers
>. does not require PXE
On Wed, Aug 18, 2010 at 07:02:15PM -0500, Bruce Dubbs wrote:
> I agree with your general comments, but at the same time think grub2 is
> suffering form a severe case of feature-itis. Just because something
> can be done, doesn't mean is should be done. For example, I've never
> seen a real
On Thu, Aug 19, 2010 at 04:47:06AM +0930, Brendan Trotter wrote:
> You missed my point - it doesn't work for Unix clones either. You
> could even have 2 copies of the exact same OS (something like Ubuntu)
> installed on the same computer (in different partitions), and it fails
> because both copies
On Wed, Aug 18, 2010 at 11:54:07AM -0700, Seth Goldberg wrote:
> I agree with you -- using GRUB2 in a multi-OS configuration is
> inherently problematic due to the split-brain phenomenon, but if you're
> managing 3 OSes, we expect you to be smart enough to work around the
> problem yourself. K
On Thu, Aug 19, 2010 at 03:18:53AM +0930, Brendan Trotter wrote:
> Um, what?
Well at least update-grub reads from /etc to generate the final config
(which is still /boot/grub/grub.cfg, so it does go in /boot, but since
it is generated (at least on my debian system), I don't consider it
config anym
On Wed, Aug 18, 2010 at 04:42:20PM +0930, Brendan Trotter wrote:
> Hi,
>
> On Wed, Aug 18, 2010 at 12:35 PM, BVK Chaitanya wrote:
> > If you could list out specific instances of what you felt is
> > difficult, then it would be a lot helpful. A general comment like,
> > "its not good or difficult
On Mon, Aug 09, 2010 at 06:09:10PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> BZR checkout from http://bzr.savannah.gnu.org/r/grub/branches/experimental/
> I'm especially interested in testing on multi-disk config (both my OFW
> boxes have only one disk)
I will see if I can get that bu
On Fri, Jul 30, 2010 at 06:04:57PM -0300, Manoel Rebelo Abraches wrote:
> OF can understand FAT12 filesystem. So the procedure is to mount a FAT12
> partition in /boot/grub and then run
> grub-install (I have done this before and I boot trough the FAT12
> partition). You could do something like:
>
On Sun, Aug 01, 2010 at 04:48:04PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> As I already told on IRC such a behaviour isn't of a good design. A
> simple example is when one add a devalias and then all other disks
> disappear. Moreover in experimental branch I have a solution for such
On Thu, Jul 29, 2010 at 01:08:15PM -0400, Doug Nazar wrote:
> On 2010-07-29 11:36 AM, Lennart Sorensen wrote:
>>
>> I removed the nvalias's and got:
>>
>> 0> boot /p...@8002200/pci1014,0...@1/sas/d...@2 |
>
> Can you add this on top? Grub
On Thu, Jul 29, 2010 at 11:57:50AM -0400, Doug Nazar wrote:
> I'm guessing the ',' throws everything for a loop. Grub is probably
> interpreting it as a partition. Interesting little quirk. Have to think
> about how to handle that. Escaping is probably too intrusive. I guess
> substitution or
On Thu, Jul 29, 2010 at 09:52:18AM -0700, David Miller wrote:
> From: Doug Nazar
> Date: Thu, 29 Jul 2010 11:57:50 -0400
>
> > How common is it not to have nvalias's? Is that usual operating
> > procedure?
>
> FWIW, I've never seen this on a sparc64 system, ever.
So the sparc does not have deva
On Thu, Jul 29, 2010 at 04:14:00AM -0400, Doug Nazar wrote:
> On 2010-07-29 12:06 AM, Doug Nazar wrote:
>>
>> The second expands the 'ls -l' output to include raid information.
>> Previously depending on the raid metadata layout, it was possible to
>> detect the filesystem on the underlying ra
On Thu, Jul 29, 2010 at 02:21:36AM -0400, Doug Nazar wrote:
> Lennart, try giving this patch a whirl. In the case after we scan the
> aliases list and we haven't found any block devices it will now try to
> scan the entire tree. It kinda worked under OpenBios although I ran into
> another bu
On Wed, Jul 28, 2010 at 04:46:39PM -0400, Doug Nazar wrote:
> On 2010-07-28 2:49 PM, Lennart Sorensen wrote:
>>
>> mdadm: device 1 in /dev/md/0 has wrong state in superblock, but /dev/sdb2
>> seems ok
>> mdadm: /dev/md/0 has been started with 2 drives.
>
> Ok, i
On Wed, Jul 28, 2010 at 04:10:58PM -0400, Doug Nazar wrote:
> On 2010-07-28 2:49 PM, Lennart Sorensen wrote:
>>
>> mdadm: device 1 in /dev/md/0 has wrong state in superblock, but /dev/sdb2
>> seems
> Ok, I think this is a bug in mdadm. I couldn't replicate it on a
On Wed, Jul 28, 2010 at 02:01:46PM -0400, Doug Nazar wrote:
> I was just looking at that. In disk/raid.c:129 we set the flag that
> tells the system to try looking for partitions. I've been debating
> whether to add code to disk/raid.c to detect if there actually is a
> partition table (by pr
On Wed, Jul 28, 2010 at 02:17:10PM -0400, Doug Nazar wrote:
> It really shouldn't be doing that. Grub shouldn't be doing any writes at
> all during boot (unless you're using some of the more exotic commands or
> save_env) and the raid code specifically errors on writes to it.
>
> If it was linux I'
On Wed, Jul 28, 2010 at 01:42:19PM -0400, Lennart Sorensen wrote:
> On Wed, Jul 28, 2010 at 01:12:16PM -0400, Doug Nazar wrote:
> > On 2010-07-28 1:01 PM, Lennart Sorensen wrote:
> >> Well I don't think that helped (unless I messed up the compile).
> >>
> >
On Wed, Jul 28, 2010 at 01:12:16PM -0400, Doug Nazar wrote:
> On 2010-07-28 1:01 PM, Lennart Sorensen wrote:
>> Well I don't think that helped (unless I messed up the compile).
>>
>
> The following works for me. Just finished testing it. Damn these 15
>
On Wed, Jul 28, 2010 at 01:12:16PM -0400, Doug Nazar wrote:
> On 2010-07-28 1:01 PM, Lennart Sorensen wrote:
>> Well I don't think that helped (unless I messed up the compile).
>>
>
> The following works for me. Just finished testing it. Damn these 15
>
On Wed, Jul 28, 2010 at 12:30:47PM -0400, Doug Nazar wrote:
> Think I spotted this by code review.
>
> normal/completion.c:250
> dir = grub_strchr (current_word, '/');
>
> It looks for a starting '/' but I bet it's hitting the '/' in the
> new-style md names. It should probably be
>
> dir
On Wed, Jul 28, 2010 at 11:52:00AM -0400, Doug Nazar wrote:
> It only mattered for multipath. Which is a kind of raid1 setup. Grub
> doesn't handle it too well since the underlying device is the same and
> has the same disk number. Before we'd overwrite the old path with the
> last path found
On Wed, Jul 28, 2010 at 11:00:37AM -0400, Lennart Sorensen wrote:
> On Wed, Jul 28, 2010 at 04:51:24AM -0400, Doug Nazar wrote:
> > Ok, finally made some progress. Ran into several issues, some of them
> > obviously QEMU/OpenBios that I'm not sure if GRUB should work aro
On Wed, Jul 28, 2010 at 06:26:55PM +0300, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> > Unfortunately there is nothing that defines ${grub_device} in the script.
> > If it used the target install device, it would in fact get the right
> > result.
> >
> Thanks, fixed.
Great.
> > Now of cour
On Wed, Jul 28, 2010 at 04:51:24AM -0400, Doug Nazar wrote:
> Ok, finally made some progress. Ran into several issues, some of them
> obviously QEMU/OpenBios that I'm not sure if GRUB should work around.
> With your patch the raid mostly worked, small problem with too many
> devices because O
On Tue, Jul 27, 2010 at 07:58:01PM -0400, Doug Nazar wrote:
> It is an ISO image. That's what has me steamed. I'm not sure how I'm
> still getting errors. First I was doing a Gentoo install but there were
> a few too many decisions I wasn't sure about for PPC and I was having
> problems cross
On Wed, Jul 28, 2010 at 05:27:33PM +0300, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 07/23/2010 11:02 PM, Lennart Sorensen wrote:
> > So how would one explain to grub-install that it needs part_msdos when
> > the partition tables that the md devices are run
On Mon, Jul 26, 2010 at 09:00:53PM -0400, Doug Nazar wrote:
> I'd worried about endianess while testing. I've been spending the last 2
> days trying to setup a QEMU powerpc64 image to run some regression
> testing but it's taking forever (combination of old P4 computer and QEMU
> giving me ra
On Mon, Jul 26, 2010 at 01:20:34PM -0400, Lennart Sorensen wrote:
> I just tried this patch with a fresh checkout. I still can't get grub
> to read my 1.x raids (That I just created using the debian installer
> daily build).
>
> If I use 0.9 raid, it seems to work fine.
>
On Sat, Jul 24, 2010 at 06:22:02AM -0400, Doug Nazar wrote:
> While doing some in-depth testing came across a few more issues. The
> second one really threw me for a loop. The LVM wouldn't come up because
> it couldn't find some of the raid arrays but when I hexdumped the raid
> arrays it sh
On Fri, Jul 23, 2010 at 02:35:48PM -0400, Lennart Sorensen wrote:
> Turns out using nvalias instead of devalias makes it permanent.
>
> So I now boot to grub directly with an nvalias hd /pci set and
> boot-device set to hd (which means boot the PReP boot partition).
>
>
On Fri, Jul 23, 2010 at 01:56:34PM -0400, Lennart Sorensen wrote:
> Now we are getting somewhere. So it seems even with a fat12 partition,
> the open firmware on the IBM box still won't boot from a file.
>
> Unfortunately on reboot, my devalias is gone. How do I make it rememb
On Fri, Jul 23, 2010 at 01:36:08PM -0400, Lennart Sorensen wrote:
> On Fri, Jul 23, 2010 at 07:02:15PM +0200, Vladimir 'φ-coder/phcoder'
> Serbinenko wrote:
> > Right now grub2 lists only aliased devices. You can either alias your
> > disk or directly use:
>
>
On Fri, Jul 23, 2010 at 01:46:57PM -0400, Lennart Sorensen wrote:
> Hmm. Neat. I will give that a try.
>
> So with /dev/sda4 a fat partition, I still didn't have any luck with:
>
> boot hd:4,\grub
>
> I just get:
&g
On Fri, Jul 23, 2010 at 02:28:55PM -0300, Manoel Rebelo Abraches wrote:
> OF can read FAT12 filesystem.
FAT12, but not FAT16? How convinient. Must try that.
> you could format it with fat 12 and then mount it at /boot/grub.
> then you can use grub-install and grub-mkconfig to create a grub.cfg
On Fri, Jul 23, 2010 at 07:02:15PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> Right now grub2 lists only aliased devices. You can either alias your
> disk or directly use:
Unfortunately I think IBM doesn't generate aliases at all. I have no
idea how to set one (I can't find any docume
On Fri, Jul 23, 2010 at 09:57:37AM -0400, Lennart Sorensen wrote:
> On Fri, Jul 23, 2010 at 07:56:27AM +0200, Vladimir 'φ-coder/phcoder'
> Serbinenko wrote:
> > On 07/22/2010 11:23 PM, Lennart Sorensen wrote:
> > > I am trying to use grub2 to boot an IBM p520 power
On Fri, Jul 23, 2010 at 07:56:27AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko
wrote:
> On 07/22/2010 11:23 PM, Lennart Sorensen wrote:
> > I am trying to use grub2 to boot an IBM p520 power6 box. I know yaboot
> > can do the job, but it doesn't deal wi
I am trying to use grub2 to boot an IBM p520 power6 box. I know yaboot
can do the job, but it doesn't deal with software raid, ext4, LVM or
anything else useful.
I have managed to get as far as booting to a grub prompt from disk.
Unfortunately it doesn't appear to be seeing any disks at that poin
201 - 265 of 265 matches
Mail list logo