* Improved aboot (with updated documentation) from boot floppies
@ 2000-03-03 21:05 David Huggins-Daines
2000-03-03 21:16 ` Rich Payne
2000-03-03 21:28 ` Greg Lindahl
0 siblings, 2 replies; 13+ messages in thread
From: David Huggins-Daines @ 2000-03-03 21:05 UTC (permalink / raw)
To: debian-alpha; +Cc: axp-list
Hi,
I've put source and packages for the aboot I've been using on my
Debian potato boot-floppies at http://www.debian.org/~dhd/aboot/
This has the following extra features:
1) follows symlinks on ext2
2) improved interactive mode (can list directories on ext2)
3) integrates the various patches to 0.5
4) swriteboot preserves existing aboot configuration
5) isomarkboot no longer contains 64-bit-isms :)
It calls itself aboot 0.6, but it's not entirely "finished" nor is it
official (actually, it seems to me that someone should take up
maintainership of it, since David M-T has moved on to bigger, if not
better architectures :)
--
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 tel
dhuggins@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-03 21:05 David Huggins-Daines
@ 2000-03-03 21:16 ` Rich Payne
2000-03-03 22:31 ` David Huggins-Daines
2000-03-03 21:28 ` Greg Lindahl
1 sibling, 1 reply; 13+ messages in thread
From: Rich Payne @ 2000-03-03 21:16 UTC (permalink / raw)
To: axp-list; +Cc: debian-alpha
On 3 Mar 2000, David Huggins-Daines wrote:
> Hi,
>
> I've put source and packages for the aboot I've been using on my
> Debian potato boot-floppies at http://www.debian.org/~dhd/aboot/
I've pulled a copy over to alphalnux.org as well:
ftp://ftp.alphalinux.org/pub/Linux-Alpha/aboot/0.6
> This has the following extra features:
>
> 1) follows symlinks on ext2
> 2) improved interactive mode (can list directories on ext2)
> 3) integrates the various patches to 0.5
> 4) swriteboot preserves existing aboot configuration
> 5) isomarkboot no longer contains 64-bit-isms :)
>
> It calls itself aboot 0.6, but it's not entirely "finished" nor is it
> official (actually, it seems to me that someone should take up
> maintainership of it, since David M-T has moved on to bigger, if not
> better architectures :)
Agreed, are you volunteering?
--rdp
> --
> David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
> 613.562.1239 tel
> dhuggins@linuxcare.com, http://www.linuxcare.com/
> Linuxcare. Support for the revolution.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
2000-03-03 21:05 David Huggins-Daines
2000-03-03 21:16 ` Rich Payne
@ 2000-03-03 21:28 ` Greg Lindahl
1 sibling, 0 replies; 13+ messages in thread
From: Greg Lindahl @ 2000-03-03 21:28 UTC (permalink / raw)
To: axp-list
> I've put source and packages for the aboot I've been using on my
> Debian potato boot-floppies at http://www.debian.org/~dhd/aboot/
Can I ask a dumb question: does it grok standard Linux partition tables?
-- g
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
@ 2000-03-03 21:51 Larry Sendlosky
2000-03-03 21:53 ` Greg Lindahl
2000-03-03 22:28 ` David Huggins-Daines
0 siblings, 2 replies; 13+ messages in thread
From: Larry Sendlosky @ 2000-03-03 21:51 UTC (permalink / raw)
To: glindahl; +Cc: axp-list
>
> Can I ask a dumb question: does it grok standard Linux partition tables?
>
What's a standard Linux partition table?
SRM definition boot block conflicts with where the DOS partition
table resides. So, I guess the answer to your question would be 'no'.
Is Alpha/SRM the only Linux platform that can't boot from DOS
partitions? Wouldn't surprise me if it was.
larry
______________________________________________________________________
Larry Sendlosky ATS
larry@scrugs.lkg.dec.com (978) 506-6640 Compaq
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
2000-03-03 21:51 Improved aboot (with updated documentation) from boot floppies Larry Sendlosky
@ 2000-03-03 21:53 ` Greg Lindahl
2000-03-03 22:28 ` David Huggins-Daines
1 sibling, 0 replies; 13+ messages in thread
From: Greg Lindahl @ 2000-03-03 21:53 UTC (permalink / raw)
To: axp-list
> SRM definition boot block conflicts with where the DOS partition
> table resides. So, I guess the answer to your question would be 'no'.
So there isn't room to have both aboot and a DOS partition table there?
> Is Alpha/SRM the only Linux platform that can't boot from DOS
> partitions? Wouldn't surprise me if it was.
Which is a pain in the neck.
If SRM is really a show-stopper, maybe we can talk the SRM guys into helping
us out.
-- g
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-03 21:51 Improved aboot (with updated documentation) from boot floppies Larry Sendlosky
2000-03-03 21:53 ` Greg Lindahl
@ 2000-03-03 22:28 ` David Huggins-Daines
2000-03-03 22:33 ` Greg Lindahl
1 sibling, 1 reply; 13+ messages in thread
From: David Huggins-Daines @ 2000-03-03 22:28 UTC (permalink / raw)
To: axp-list; +Cc: glindahl
Larry Sendlosky <larry@scrugs.lkg.dec.com> writes:
> Is Alpha/SRM the only Linux platform that can't boot from DOS
> partitions? Wouldn't surprise me if it was.
No, Sparc, MIPS, m68k, and some varieties of PowerPC are the same.
Think of it as "being like the other non-Intel architectures" rather
than "deviating from the way it's done on Intel".
DOS partition tables are really brain-damaged (the 32-bit fields in
them are unaligned, extended partitions are a mess, etc), so, except
for the fact that the fdisk support for BSD disklabels as they're done
on Alpha is somewhat broken at the moment, you might consider it a
blessing rather than a curse :)
Unfortunately the 2.2 kernel's default config.in doesn't include BSD
disklabel support (regardless of whether you have selected "Generic"
as your system type or "Use SRM as Bootloader") - this should probably
be changed.
--
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 tel
dhuggins@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-03 21:16 ` Rich Payne
@ 2000-03-03 22:31 ` David Huggins-Daines
0 siblings, 0 replies; 13+ messages in thread
From: David Huggins-Daines @ 2000-03-03 22:31 UTC (permalink / raw)
To: Rich Payne; +Cc: axp-list, debian-alpha
Rich Payne <rdp@talisman.alphalinux.org> writes:
> On 3 Mar 2000, David Huggins-Daines wrote:
> > official (actually, it seems to me that someone should take up
> > maintainership of it, since David M-T has moved on to bigger, if not
> > better architectures :)
>
> Agreed, are you volunteering?
Well, unless someone at Compaq, API, SuSE, or Red Hat wants to, I
guess I will...
--
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 tel
dhuggins@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
2000-03-03 22:28 ` David Huggins-Daines
@ 2000-03-03 22:33 ` Greg Lindahl
2000-03-04 0:15 ` Rich Payne
0 siblings, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 2000-03-03 22:33 UTC (permalink / raw)
To: David Huggins-Daines; +Cc: axp-list
> DOS partition tables are really brain-damaged (the 32-bit fields in
> them are unaligned, extended partitions are a mess, etc), so, except
> for the fact that the fdisk support for BSD disklabels as they're done
> on Alpha is somewhat broken at the moment, you might consider it a
> blessing rather than a curse :)
All this may be true, but I would prefer it if all Linux implementations
could use the same partition table... just like all RedHat distributions now
use the same /boot/vmlinuz convention.
-- g
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
2000-03-03 22:33 ` Greg Lindahl
@ 2000-03-04 0:15 ` Rich Payne
2000-03-04 19:22 ` Greg Lindahl
0 siblings, 1 reply; 13+ messages in thread
From: Rich Payne @ 2000-03-04 0:15 UTC (permalink / raw)
To: Greg Lindahl; +Cc: axp-list
On Fri, 3 Mar 2000, Greg Lindahl wrote:
> > DOS partition tables are really brain-damaged (the 32-bit fields in
> > them are unaligned, extended partitions are a mess, etc), so, except
> > for the fact that the fdisk support for BSD disklabels as they're done
> > on Alpha is somewhat broken at the moment, you might consider it a
> > blessing rather than a curse :)
>
> All this may be true, but I would prefer it if all Linux implementations
> could use the same partition table... just like all RedHat distributions now
> use the same /boot/vmlinuz convention.
The problem is that it's not just up to aboot, SRM would also have to know
about this, so you'd have to convince Q that's it's in their best
interest to add this stuff to SRM. However, this makes more difficult for
the disributions right? At the moment if they see SRM they are safe to
setup BSD and go on, if they see MILO in the serial number string then
they need to use PC partitions.
From my personal view, the last thing we need right now is to add
something else that is going to make use/installation of Alpha any more
difficult.
--rdp
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Improved aboot (with updated documentation) from boot floppies
2000-03-04 0:15 ` Rich Payne
@ 2000-03-04 19:22 ` Greg Lindahl
2000-03-04 20:49 ` David Huggins-Daines
0 siblings, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 2000-03-04 19:22 UTC (permalink / raw)
To: axp-list
> The problem is that it's not just up to aboot, SRM would also have to know
> about this, so you'd have to convince Q that's it's in their best
> interest to add this stuff to SRM.
Yes.
> However, this makes more difficult for
> the disributions right? At the moment if they see SRM they are safe to
> setup BSD and go on, if they see MILO in the serial number string then
> they need to use PC partitions.
No. Distributions could just change nothing, or you could give them the
ability to detect SRM capable of dealing with DOS partitions.
> From my personal view, the last thing we need right now is to add
> something else that is going to make use/installation of Alpha any more
> difficult.
I agree. However, there are usually technical ways to get around most
installation difficulties. And the gain from being able to use DOS
partitions will be substantial.
-- g
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-04 19:22 ` Greg Lindahl
@ 2000-03-04 20:49 ` David Huggins-Daines
2000-03-07 20:51 ` Cornelius Creedon
0 siblings, 1 reply; 13+ messages in thread
From: David Huggins-Daines @ 2000-03-04 20:49 UTC (permalink / raw)
To: glindahl; +Cc: axp-list
"Greg Lindahl" <glindahl@hpti.com> writes:
> (and Rich Payne wrote - ed):
> > However, this makes more difficult for
> > the disributions right? At the moment if they see SRM they are safe to
> > setup BSD and go on, if they see MILO in the serial number string then
> > they need to use PC partitions.
Indeed, this is exactly what I am doing for the next Debian release.
> No. Distributions could just change nothing, or you could give them the
> ability to detect SRM capable of dealing with DOS partitions.
I'm pretty sure that SRM capable of dealing with DOS partition tables
(note that SRM has no concept of partitions - this is entirely up to
the secondary bootstrap) is never going to happen [1], because it
would break the Alpha architecture specification, specifically the
console subsystem specification, which SRM follows. You might as well
ask, "why don't we have an AlphaBIOS that understands BSD disklabels",
or better yet, "why don't we ditch this stupid PC-BIOS on i386 and get
some real firmware, so we can partition our disks and boot however we
like". [2]
Anyway, I don't really want to use DOS partitions. The only reason
Linux uses them on i386 is to interoperate with the "native" operating
system on that platform and the firmware that supports it (ditto with
Alphas that boot from ARC). That's why we use Sun disklabels on Suns,
SGI disklabels on SGIs, Macintosh partition tables on Macs, and so on.
The only reason that DOS partitions are better is because of the
poor state of the existing tools for dealing with other partitioning
schemes. On Alpha, we got used to using them since we had MILO and
Windows NT. Now we don't have MILO or Windows NT anymore, and we'll
have to learn to be like the other non-Intel platforms. In the end I
think this is a win.
It's in fact a lot *easier* to write an fdisk-type program for OSF,
Sun, or SGI disklabels, or for Macintosh partition tables, than it is
to write one for DOS partition tables, because you don't have to deal
with the extended/logical partition madness, or with the antiquated
CHS specifications for size and placement of partitions, or arbitrary
PC-BIOS limitations on these (wholly artificial) numbers you have to
abide by in order to be backwards-compatible with 16-bit toy operating
systems and the broken firmware they rely on.
BSD on i386 really has the worst of both worlds, since it has to put a
BSD disklabel *inside* a DOS partition in order to be bootable from
the PC-BIOS, and the problems with Linux fdisk's BSD label support on
Alpha are somewhat related to this. [3]
> I agree. However, there are usually technical ways to get around most
> installation difficulties. And the gain from being able to use DOS
> partitions will be substantial.
No, the gain from fixing the partitioning tools to work better with
the different partition formats on the various platforms will be
substantial. It will also have benefits for all architectures, not
just Alpha. [4]
[1] David Woodhouse pointed out to me that you can, with some twisted
hackery, create a valid DOS partition table and still boot from
SRM; it involves twiddling the empty spaces (er, "Reserved to
Digital" spaces :) in the boot block so that the most significant
halfword of the bootblock checksum is 0xAA55 - also you can't use
the fourth primary partition since it overlaps with the rest of
the checksum. (Hm, in fact, since the 0xAA55 magic number isn't
really required to boot on an Alpha (no PC-BIOS), so long as Linux
understood that it was optional on Alpha, we could actually do
this - but I don't want to give anyone any ideas :)
[2] Actually, people have done that in the past (SGI Visual
Workstations, which are i386 boxen that use ARC), and are now
doing it *right* (VA Research's "ROMulus" project, and LANL's
"LinuxBIOS" project)
[3] IMHO we should treat OSF disklabels as a separate type, like we do
for Sun, SGI, and AIX labels, but this is kind of irrelevant
because Linux fdisk really needs to be put out of its misery at
this point.
[4] In fact, I'm working on something like this, namely, a universal
disk-partitioning library and accompanying utility, in my Copious
Free Time, probably by filling out the (read-only, but
multiplatform) libfdisk that resides in Debian boot-floppies.
--
David Huggins-Daines, Senior Linux Consultant, Linuxcare, Inc.
613.562.1239 tel
dhuggins@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-04 20:49 ` David Huggins-Daines
@ 2000-03-07 20:51 ` Cornelius Creedon
2000-03-08 22:17 ` Michal Jaegermann
0 siblings, 1 reply; 13+ messages in thread
From: Cornelius Creedon @ 2000-03-07 20:51 UTC (permalink / raw)
To: axp-list
(totally off topic)
but, speaking of dos partition tables:
can anyone point me to information or utilities to attempt to recover info
from a dos disk with a damaged partition table?
better yet:
methods to utilize an image of the _disk_ in a file?
(not an image of the partition; if i had that i wouldnt be asking...)
[i happen to have an "identically configured" disk and its image as well,
and using a binary editor can 'see' the 'problem', but even if i were to
overwrite the 'broken' image with the info from the intact one i would
still have an image of a disk... id like to avoid having to write out the
image to a device before trying to read it...]
please feel free to remove the list from the reply...
any pointers much appreciated.
-cc
On 4 Mar 2000, David Huggins-Daines wrote:
>
> The only reason that DOS partitions are better is because of the
> poor state of the existing tools for dealing with other partitioning
> schemes. On Alpha, we got used to using them since we had MILO and
> Windows NT. Now we don't have MILO or Windows NT anymore, and we'll
> have to learn to be like the other non-Intel platforms. In the end I
> think this is a win.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Improved aboot (with updated documentation) from boot floppies
2000-03-07 20:51 ` Cornelius Creedon
@ 2000-03-08 22:17 ` Michal Jaegermann
0 siblings, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 2000-03-08 22:17 UTC (permalink / raw)
To: axp-list
Cornelius Creedon wrote:
>
> (totally off topic)
>
> but, speaking of dos partition tables:
> can anyone point me to information or utilities to attempt to recover info
> from a dos disk with a damaged partition table?
http://home.pages.de/~michab/gpart/
ftp://metalab.unc.edu/pub/Linux/system/filesystems/gpart*
ftp://ftp.cwi.nl/pub/aeb/rescuept.c
Maybe also something on
http://bmrc.berkeley.edu/people/chaffee/fat32.html
> better yet:
> methods to utilize an image of the _disk_ in a file?
This should not be any different. Open your image file instead of
a disk device. You have code anyway.
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2000-03-08 22:17 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-03 21:51 Improved aboot (with updated documentation) from boot floppies Larry Sendlosky
2000-03-03 21:53 ` Greg Lindahl
2000-03-03 22:28 ` David Huggins-Daines
2000-03-03 22:33 ` Greg Lindahl
2000-03-04 0:15 ` Rich Payne
2000-03-04 19:22 ` Greg Lindahl
2000-03-04 20:49 ` David Huggins-Daines
2000-03-07 20:51 ` Cornelius Creedon
2000-03-08 22:17 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
2000-03-03 21:05 David Huggins-Daines
2000-03-03 21:16 ` Rich Payne
2000-03-03 22:31 ` David Huggins-Daines
2000-03-03 21:28 ` Greg Lindahl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox