Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* aboot not working or something
@ 2005-04-04 14:58 bdina
  2005-04-04 17:12 ` tsv
  0 siblings, 1 reply; 16+ messages in thread
From: bdina @ 2005-04-04 14:58 UTC (permalink / raw)


I am installing AlphaCore 0.9 on an AlphaStation 200 4/166.  The install
seemed to go okay, 2 things to note, I received a warning when
partitioning the drive, I went with auto-partition for ease in
installation, it warned about /boot not having enough space.  The next
problem happened when performing the post-installation, the system hung
at 50% for an extended period of time, I switched virtual-terminals and
ran top to notice modprobe was running, in a loop incrementing the
pid... at about 25% CPU... I assumed it was continually invoking to
probe "devices" I guess.. anyway, that finally finished, and I went to
boot the system, no-go.  I figured that something messed up with aboot,
possible related to the partitioning warning.... however I do not know
anything about aboot.... so I am trying to learn.  I have booted back
off the CD into rescue, I have the installed system mounted... any
ideas???

--Bryan



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 14:58 bdina
@ 2005-04-04 17:12 ` tsv
  2005-04-04 18:18   ` bdina
  0 siblings, 1 reply; 16+ messages in thread
From: tsv @ 2005-04-04 17:12 UTC (permalink / raw)


Hello,

Bryan Dina wrote:

>I am installing AlphaCore 0.9 on an AlphaStation 200 4/166.  The install
>seemed to go okay, 2 things to note, I received a warning when
>partitioning the drive, I went with auto-partition for ease in
>installation, it warned about /boot not having enough space.  The next
>problem happened when performing the post-installation, the system hung
>at 50% for an extended period of time, I switched virtual-terminals and
>ran top to notice modprobe was running, in a loop incrementing the
>pid... at about 25% CPU... I assumed it was continually invoking to
>probe "devices" I guess.. anyway, that finally finished, and I went to
>boot the system, no-go.  I figured that something messed up with aboot,
>possible related to the partitioning warning.... however I do not know
>anything about aboot.... so I am trying to learn.  I have booted back
>off the CD into rescue, I have the installed system mounted... any
>ideas???
>  
>
To use "autopartitioning" was a bad idea. :) Unfortunatelly, it is 
know-how how to install linux on alpha using aboot loader.
You have to partition your drive manually using "fdisk" from one of 
consoles. You have to leave some free space at the beginning of hard 
drive for aboot loader. Good practice to create a first partition from 
the second cylinder.
Another thing to mention - fdisk should create BSD type partition table.

Regards,

>--Bryan
>
>_______________________________________________
>axp-list mailing list
>axp-list at redhat.com
>https://www.redhat.com/mailman/listinfo/axp-list
>
>  
>

-- 
---
Sergey Tikhonov
Solvo Ltd.
tsv at solvo.ru



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 17:12 ` tsv
@ 2005-04-04 18:18   ` bdina
  2005-04-04 19:05     ` tsv
  0 siblings, 1 reply; 16+ messages in thread
From: bdina @ 2005-04-04 18:18 UTC (permalink / raw)


On Mon, 2005-04-04 at 21:12 +0400, Sergey Tikhonov wrote:
> Hello,
> 
> Bryan Dina wrote:
> 
> >I am installing AlphaCore 0.9 on an AlphaStation 200 4/166.  The install
> >seemed to go okay, 2 things to note, I received a warning when
> >partitioning the drive, I went with auto-partition for ease in
> >installation, it warned about /boot not having enough space.  The next
> >problem happened when performing the post-installation, the system hung
> >at 50% for an extended period of time, I switched virtual-terminals and
> >ran top to notice modprobe was running, in a loop incrementing the
> >pid... at about 25% CPU... I assumed it was continually invoking to
> >probe "devices" I guess.. anyway, that finally finished, and I went to
> >boot the system, no-go.  I figured that something messed up with aboot,
> >possible related to the partitioning warning.... however I do not know
> >anything about aboot.... so I am trying to learn.  I have booted back
> >off the CD into rescue, I have the installed system mounted... any
> >ideas???
> >  
> >
> To use "autopartitioning" was a bad idea. :) Unfortunatelly, it is 
> know-how how to install linux on alpha using aboot loader.
> You have to partition your drive manually using "fdisk" from one of 
> consoles. You have to leave some free space at the beginning of hard 
> drive for aboot loader. Good practice to create a first partition from 
> the second cylinder.
> Another thing to mention - fdisk should create BSD type partition table.

Hmm, disk druid will not play nicely with me, I cannot seem to offset
the /boot partition for the aboot software at the beginning of the disk.
I also can not seem to even create an "empty" space on the drive
anywhere... 

any help would be greatly appreciated... I am not new to Linux, just
Linux on the Alpha.

--Bryan



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 18:18   ` bdina
@ 2005-04-04 19:05     ` tsv
  2005-04-04 20:05       ` bdina
  0 siblings, 1 reply; 16+ messages in thread
From: tsv @ 2005-04-04 19:05 UTC (permalink / raw)


Bryan Dina wrote:

>On Mon, 2005-04-04 at 21:12 +0400, Sergey Tikhonov wrote:
>  
>
>>Hello,
>>
>>Bryan Dina wrote:
>>
>>    
>>
>>>I am installing AlphaCore 0.9 on an AlphaStation 200 4/166.  The install
>>>seemed to go okay, 2 things to note, I received a warning when
>>>partitioning the drive, I went with auto-partition for ease in
>>>installation, it warned about /boot not having enough space.  The next
>>>problem happened when performing the post-installation, the system hung
>>>at 50% for an extended period of time, I switched virtual-terminals and
>>>ran top to notice modprobe was running, in a loop incrementing the
>>>pid... at about 25% CPU... I assumed it was continually invoking to
>>>probe "devices" I guess.. anyway, that finally finished, and I went to
>>>boot the system, no-go.  I figured that something messed up with aboot,
>>>possible related to the partitioning warning.... however I do not know
>>>anything about aboot.... so I am trying to learn.  I have booted back
>>>off the CD into rescue, I have the installed system mounted... any
>>>ideas???
>>> 
>>>
>>>      
>>>
>>To use "autopartitioning" was a bad idea. :) Unfortunatelly, it is 
>>know-how how to install linux on alpha using aboot loader.
>>You have to partition your drive manually using "fdisk" from one of 
>>consoles. You have to leave some free space at the beginning of hard 
>>drive for aboot loader. Good practice to create a first partition from 
>>the second cylinder.
>>Another thing to mention - fdisk should create BSD type partition table.
>>    
>>
>
>Hmm, disk druid will not play nicely with me, I cannot seem to offset
>the /boot partition for the aboot software at the beginning of the disk.
>I also can not seem to even create an "empty" space on the drive
>anywhere... 
>  
>
You have to switch to shell prompt and use "fdisk" command just before 
disk partitioning (not disk druid).
In fdisk, you have to use "bsd" mode. If your disk is partitioned with 
DOS partition table type - you would have to
delete everything, then create new bsd disklabel (you might need to 
clean zero out first drive sector), then create partitions.

>any help would be greatly appreciated... I am not new to Linux, just
>Linux on the Alpha.
>  
>
Well, there are some specifics. :)

>--Bryan
>
>_______________________________________________
>axp-list mailing list
>axp-list at redhat.com
>https://www.redhat.com/mailman/listinfo/axp-list
>  
>
Sergey.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 19:05     ` tsv
@ 2005-04-04 20:05       ` bdina
  0 siblings, 0 replies; 16+ messages in thread
From: bdina @ 2005-04-04 20:05 UTC (permalink / raw)


On Mon, 2005-04-04 at 23:05 +0400, Sergey Tikhonov wrote:
> Bryan Dina wrote:
> 
> >On Mon, 2005-04-04 at 21:12 +0400, Sergey Tikhonov wrote:
> >  
> >
> >>Hello,
> >>
> >>Bryan Dina wrote:
> >>
> >>    
> >>
> >>>I am installing AlphaCore 0.9 on an AlphaStation 200 4/166.  The install
> >>>seemed to go okay, 2 things to note, I received a warning when
> >>>partitioning the drive, I went with auto-partition for ease in
> >>>installation, it warned about /boot not having enough space.  The next
> >>>problem happened when performing the post-installation, the system hung
> >>>at 50% for an extended period of time, I switched virtual-terminals and
> >>>ran top to notice modprobe was running, in a loop incrementing the
> >>>pid... at about 25% CPU... I assumed it was continually invoking to
> >>>probe "devices" I guess.. anyway, that finally finished, and I went to
> >>>boot the system, no-go.  I figured that something messed up with aboot,
> >>>possible related to the partitioning warning.... however I do not know
> >>>anything about aboot.... so I am trying to learn.  I have booted back
> >>>off the CD into rescue, I have the installed system mounted... any
> >>>ideas???
> >>> 
> >>>
> >>>      
> >>>
> >>To use "autopartitioning" was a bad idea. :) Unfortunatelly, it is 
> >>know-how how to install linux on alpha using aboot loader.
> >>You have to partition your drive manually using "fdisk" from one of 
> >>consoles. You have to leave some free space at the beginning of hard 
> >>drive for aboot loader. Good practice to create a first partition from 
> >>the second cylinder.
> >>Another thing to mention - fdisk should create BSD type partition table.
> >>    
> >>
> >
> >Hmm, disk druid will not play nicely with me, I cannot seem to offset
> >the /boot partition for the aboot software at the beginning of the disk.
> >I also can not seem to even create an "empty" space on the drive
> >anywhere... 
> >  
> >
> You have to switch to shell prompt and use "fdisk" command just before 
> disk partitioning (not disk druid).
> In fdisk, you have to use "bsd" mode. If your disk is partitioned with 
> DOS partition table type - you would have to
> delete everything, then create new bsd disklabel (you might need to 
> clean zero out first drive sector), then create partitions.
> 
> >any help would be greatly appreciated... I am not new to Linux, just
> >Linux on the Alpha.
> >  
> >
> Well, there are some specifics. :)
> 

unfortunately this is not working, I have been reading through the
documentation and feel embarrassed to say that I have read in the
installation notes what you are explaining to do.  I am having problems
getting Disk Druid to recognize the fdisk partitions.... it complains
that the disk info can not be recognized and wants to initialize the
disk before continuing.  If I do not initialize the disk, it restarts on
me, if I do, it erases the disk.  I check with fdisk and the disk
partitions have been removed.  When I start over with fdisk, I create
two partitions to keep it simple for now (the machine is slow so making
errors is not fun), one ext2, and one swap.  I then use "w" to write the
table(s), and quit fdisk.  I then swap back over to the installer,
select Disk Druid, and again, it complains and wants to re-initialize
the disk.  I reboot, and try again with out re-initializing, and again,
it complains.... what now???  I really would like to install Linux on
this machine! :)

--Bryan



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
@ 2005-04-04 20:34 rm.riches
  2005-04-04 21:08 ` bdina
  0 siblings, 1 reply; 16+ messages in thread
From: rm.riches @ 2005-04-04 20:34 UTC (permalink / raw)


> Date: Mon, 04 Apr 2005 16:05:06 -0400
> From: Bryan Dina <bdina at seresc.net>
>
> unfortunately this is not working, I have been reading through the
> documentation and feel embarrassed to say that I have read in the
> installation notes what you are explaining to do.  I am having problems
> getting Disk Druid to recognize the fdisk partitions.... it complains
> that the disk info can not be recognized and wants to initialize the
> disk before continuing.  If I do not initialize the disk, it restarts on
> me, if I do, it erases the disk.  I check with fdisk and the disk
> partitions have been removed.  When I start over with fdisk, I create
> two partitions to keep it simple for now (the machine is slow so making
> errors is not fun), one ext2, and one swap.  I then use "w" to write the
> table(s), and quit fdisk.  I then swap back over to the installer,
> select Disk Druid, and again, it complains and wants to re-initialize
> the disk.  I reboot, and try again with out re-initializing, and again,
> it complains.... what now???  I really would like to install Linux on
> this machine! :)

A couple of suggestions:

  - Make sure to switch fdisk into BSD mode.  You need to
    write BSD-style disklabels, not a DOS-style partition
    table.

  - After using fdisk to partition the disk, go back into
    fdisk (maybe "fdisk -l") to check.

  - You might need to zero out an earlier DOS-style
    partition table.  I don't remember exactly how to do it,
    but you should be able to find it in the axp-list
    archives and/or alpha-related newsgroup archives.  I
    think the method involves using "dd" to write zeros to
    the first couple KBytes of the raw disk device node.

Good luck.

Robert Riches
spamtrap42 at verizon.net
(Yes, that is one of my email addresses.)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 20:34 aboot not working or something rm.riches
@ 2005-04-04 21:08 ` bdina
  2005-04-04 21:50   ` thursday
  2005-04-05  0:22   ` michal
  0 siblings, 2 replies; 16+ messages in thread
From: bdina @ 2005-04-04 21:08 UTC (permalink / raw)


On Mon, 2005-04-04 at 13:34 -0700, Robert M. Riches Jr. wrote:
> > Date: Mon, 04 Apr 2005 16:05:06 -0400
> > From: Bryan Dina <bdina at seresc.net>
> >
> > unfortunately this is not working, I have been reading through the
> > documentation and feel embarrassed to say that I have read in the
> > installation notes what you are explaining to do.  I am having problems
> > getting Disk Druid to recognize the fdisk partitions.... it complains
> > that the disk info can not be recognized and wants to initialize the
> > disk before continuing.  If I do not initialize the disk, it restarts on
> > me, if I do, it erases the disk.  I check with fdisk and the disk
> > partitions have been removed.  When I start over with fdisk, I create
> > two partitions to keep it simple for now (the machine is slow so making
> > errors is not fun), one ext2, and one swap.  I then use "w" to write the
> > table(s), and quit fdisk.  I then swap back over to the installer,
> > select Disk Druid, and again, it complains and wants to re-initialize
> > the disk.  I reboot, and try again with out re-initializing, and again,
> > it complains.... what now???  I really would like to install Linux on
> > this machine! :)
> 
> A couple of suggestions:
> 
>   - Make sure to switch fdisk into BSD mode.  You need to
>     write BSD-style disklabels, not a DOS-style partition
>     table.
> 
>   - After using fdisk to partition the disk, go back into
>     fdisk (maybe "fdisk -l") to check.
> 
>   - You might need to zero out an earlier DOS-style
>     partition table.  I don't remember exactly how to do it,
>     but you should be able to find it in the axp-list
>     archives and/or alpha-related newsgroup archives.  I
>     think the method involves using "dd" to write zeros to
>     the first couple KBytes of the raw disk device node.
> 
> Good luck.

It seems I am seeing some inconsistencies here... I don't see any ways
to switch fdisk to BSD mode, I read on the Neohapsis axp list the
following instructions:

--

When the installer gets to the point of giving you the option to 
Autopartition or use Disk Druid, switch to virtual console 2 - Alt-F2 
in text mode, or Ctrl-Alt-F2 in graphical install. There should be a 
shell prompt sitting there. 

Assuming /dev/sda as the drive to partition, run: 
   fdisk /dev/sda 

At the fdisk prompt, hit "b" to switch to BSD disklabel mode. 

By default, there will be a single partition ('c') occupying the 
entire disk span, marked as type "unused". This can stay. 

Create your first partition (hit 'n', 'a'). To leave room for the 
bootloader, you'll want to start at an offset of about 5 meg. Cylinder 
4 is usually sufficient. For the ending point, you can use the 
+(number)(unit) notation which will work fine. The prompt doesn't say 
so, but using "g" to indicate gigabyte works fine. 

For example, a 10 gig partition can be created by giving the value 
"+10G" when prompted for the ending cylinder. 

Repeat, creating any desired partitions (don't forget to allocate some 
swap space). You'll need to view the partition table ('p') 
occasionally as you go if you're creating more than one to make sure 
you're creating new partitions after the end of your previous ones. 

Once you've got your partitions defined, you'll need to set them to 
the correct type. Hit 't' at the fdisk prompt, then choose the 
partition to change. The list of types can be viewed by entering 'l'. 
For ext2 or ext3 partitions, use type 8. Don't change the type of 
partition "c". 

Once you're all set, use the 'w' command to write out the partition 
table, and quit fdisk. 

Switch back to the installer at this point (Alt-F1 for text mode, 
Alt-F7 for graphical). Choose the "Disk Druid" option. You should see 
a list of the partitions you created. You'll need to go to each one 
and edit it - select the partition and hit "F3". Go into the 
"Filesystem Options" section and choose to format the partition as 
ext3, then go back and select the mount point for that partition. 

You should be able to continue the install from there.

--

My fdisk does not have the "b" option, it does start up however telling
me that I am in BSD disklabel mode... so I figure I am fine there.  I
have never had a partition labeled c that is unused, but I moved forward
anyway.  I created partitions, and then wrote them out as in the
instructions, and then back in the land of the Disk Druid, I go to the
Foreign disk partitions (as they are labeled in Disk Druid), and I can
format them to ext3, however I can not select a mount point... which
makes them useless.  Also, the fdisk and Disk Druid cylinder offsets do
not match.  When I create a partition in fdisk I use +100M, and Disk
Druid sees it as 399M with different offsets... 

so anyway what I have done so far is create a 1 cylinder partition in
fdisk with an offset of 1 cylinder (so start 2 end 2), set its type to
ext2, and wrote that.  Then I went back to Disk Druid, created a new /
partition after that "weird" partition and filled the disk aside from a
small swap partition at the end of the disk.  So I have a 7MB partition
at the beginning of the disk of unused space, a 7MB Foreign partition,
and a 4Gig disk partition mounted at /, and then a 96MB swap
partition... and its installing as we speak... then we'll have to see...

--Bryan



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 21:08 ` bdina
@ 2005-04-04 21:50   ` thursday
  2005-04-05  0:37     ` bdina
  2005-04-05  0:22   ` michal
  1 sibling, 1 reply; 16+ messages in thread
From: thursday @ 2005-04-04 21:50 UTC (permalink / raw)


To Bryan & list:

IMHO the Disk Druid and auto-partition are a lttle shaky on RH 7.2 as well as
AC0.9.

I had problems similar to yours .. one thing that worked pretty well for me
was to use Disk Druid to delete all partitions on a disk that had a
pre-existing Linux setup (I've done this on an upgrade from 7.2 with a new
install of AC; a fesh install beginning with the Copmaq "jumpstart" disk; and
with an originally blank disk that I formatted during a failed AC install)

Back to it, you then create new partitions.  The Druid will give you the option to

"start at sector .. end at sector" Begin at sector 1 instead of 0 for your
first partition.  This should be the /boot partition, and should be at least
75-80 setors.  Use the format option for all partitions.

Once you have an install done and complete, you will then find often as not
that  the installer failed to write a workable "aboot.conf" file and SRM will
be unable to boot the install.  The fix is pretty easy using your install CD
in rescure mode, or booting from the rescue floppy you made before exiting the
install procedure.

good luck

jn



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 21:08 ` bdina
  2005-04-04 21:50   ` thursday
@ 2005-04-05  0:22   ` michal
  2005-04-05  0:45     ` bdina
  1 sibling, 1 reply; 16+ messages in thread
From: michal @ 2005-04-05  0:22 UTC (permalink / raw)


On Mon, Apr 04, 2005 at 05:08:18PM -0400, Bryan Dina wrote:
> 
> It seems I am seeing some inconsistencies here... I don't see any ways
> to switch fdisk to BSD mode,

Once you will start fdisk then its says immediately "m for help"
or something like that.  If you will do press 'm' then you will see
among other things:

    b   edit bsd disklabel

Well ....

To erase an old partition table (a good idea) you can do

   dd if=/dev/zero count=2 > /dev/sda (or whatever your boot disk
                                       device happens to be).

either from a text console during an installation or after you
booted into a "rescue" mode.

DiskDruid will accept an existing partition table, even if this is of a
BSD type, but it may get confused if you have some lefovers of an old
MS-DOS type partition table.  If you will ask to partition it will write
a table of the second kind and a firmware on your machine does not know
how to deal with it.  For non-boot disks you may use one or another
partitioning.  Linux does not care.

Unfortunately if you will change a partition table then your best bet is
to redo the whole installation from scratch.  In some circumstances it
is possible to manipulate these tables well enough to get your
installation either intact or just in a need of some small adjustments.
But if you have to ask how to do that then you better not try that at
home.

   Michal



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-04 21:50   ` thursday
@ 2005-04-05  0:37     ` bdina
  0 siblings, 0 replies; 16+ messages in thread
From: bdina @ 2005-04-05  0:37 UTC (permalink / raw)


Quoting Dialup Jon Norstog <thursday at allidaho.com>:

> To Bryan & list:
> 
> IMHO the Disk Druid and auto-partition are a lttle shaky on RH 7.2 as well
> as
> AC0.9.
> 
> I had problems similar to yours .. one thing that worked pretty well for me
> was to use Disk Druid to delete all partitions on a disk that had a
> pre-existing Linux setup (I've done this on an upgrade from 7.2 with a new
> install of AC; a fesh install beginning with the Copmaq "jumpstart" disk;
> and
> with an originally blank disk that I formatted during a failed AC install)
> 

I have sort of used Disk Druid to remove all partitions...

> Back to it, you then create new partitions.  The Druid will give you the
> option to
> 
> "start at sector .. end at sector" Begin at sector 1 instead of 0 for your
> first partition.  This should be the /boot partition, and should be at least
> 75-80 setors.  Use the format option for all partitions.

perhaps my Druid is old or incorrect, because I have no options in mine to
select sector(s) for the partition(s) to reside.  I have been installing in text
mode if that makes a difference.

> 
> Once you have an install done and complete, you will then find often as not
> that  the installer failed to write a workable "aboot.conf" file and SRM
> will
> be unable to boot the install.  The fix is pretty easy using your install CD
> in rescure mode, or booting from the rescue floppy you made before exiting
> the
> install procedure.

hopefully I get to that part... it seems as though BSD is much more refined for
the Alpha... however I would really like to get this working.

> 
> good luck
> 
> jn
> 



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  0:22   ` michal
@ 2005-04-05  0:45     ` bdina
  2005-04-05  1:43       ` bdina
  2005-04-05  2:53       ` michal
  0 siblings, 2 replies; 16+ messages in thread
From: bdina @ 2005-04-05  0:45 UTC (permalink / raw)


Quoting Michal Jaegermann <michal at ellpspace.math.ualberta.ca>:

> On Mon, Apr 04, 2005 at 05:08:18PM -0400, Bryan Dina wrote:
> > 
> > It seems I am seeing some inconsistencies here... I don't see any ways
> > to switch fdisk to BSD mode,
> 
> Once you will start fdisk then its says immediately "m for help"
> or something like that.  If you will do press 'm' then you will see
> among other things:
> 
>     b   edit bsd disklabel

unfortunately when I said that my fdisk has no "b" to switch to bsd disklabel,
it really does not, I had used "m" for help, and it is not listed.  Like I said
(I believe on this list) I am not new to Linux, I have been a use since kernel
2.0 when fdisk used to be the defacto-standard... I am just new to Linux on the
Alpha, I have always run FreeBSD on mine.  As a project I am switching, it has
been fun so far, it sounds sorta weird but I like solving these types of
problems :).  I am worried that I have a weird AC or something.  I downloaded it
from the Bit Torrent links on alphalinux.org, I have 5 iso files... should I
look elsewhere to get the core??  also I have heard of a core 1.0, mine is 0.9...

> 
> Well ....
> 
> To erase an old partition table (a good idea) you can do
> 
>    dd if=/dev/zero count=2 > /dev/sda (or whatever your boot disk
>                                        device happens to be).
> 
> either from a text console during an installation or after you
> booted into a "rescue" mode.
> 
> DiskDruid will accept an existing partition table, even if this is of a
> BSD type, but it may get confused if you have some lefovers of an old
> MS-DOS type partition table.  If you will ask to partition it will write
> a table of the second kind and a firmware on your machine does not know
> how to deal with it.  For non-boot disks you may use one or another
> partitioning.  Linux does not care.

Im a fairly certain I have not written MS-DOS type partitions... fdisk does
always report it starts in BSD disklabel.

--Bryan



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  0:45     ` bdina
@ 2005-04-05  1:43       ` bdina
  2005-04-05  2:53       ` michal
  1 sibling, 0 replies; 16+ messages in thread
From: bdina @ 2005-04-05  1:43 UTC (permalink / raw)


Quoting bdina at seresc.net:

> Quoting Michal Jaegermann <michal at ellpspace.math.ualberta.ca>:
> 
> > On Mon, Apr 04, 2005 at 05:08:18PM -0400, Bryan Dina wrote:
> > 
> > Well ....
> > 
> > To erase an old partition table (a good idea) you can do
> > 
> >    dd if=/dev/zero count=2 > /dev/sda (or whatever your boot disk
> >                                        device happens to be).
> > 
> > either from a text console during an installation or after you
> > booted into a "rescue" mode.
> > 
> > DiskDruid will accept an existing partition table, even if this is of a
> > BSD type, but it may get confused if you have some lefovers of an old
> > MS-DOS type partition table.  If you will ask to partition it will write
> > a table of the second kind and a firmware on your machine does not know
> > how to deal with it.  For non-boot disks you may use one or another
> > partitioning.  Linux does not care.
> 
> Im a fairly certain I have not written MS-DOS type partitions... fdisk does
> always report it starts in BSD disklabel.
> 
> --Bryan
>

I suppose I will try a low level formatting of the hard disk, and a "cleaner"
restart of the installation process... I wrote in an earlier post that I have
seen many inconsistencies, such as never seeing the single "c" partition that
consumes the entire disk, labeled "unused".  Maybe the low level will fix all of
this.

--Bryan

----------------------------------------------------------------------
This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  0:45     ` bdina
  2005-04-05  1:43       ` bdina
@ 2005-04-05  2:53       ` michal
  2005-04-05  3:16         ` bdina
  1 sibling, 1 reply; 16+ messages in thread
From: michal @ 2005-04-05  2:53 UTC (permalink / raw)


On Mon, Apr 04, 2005 at 08:45:04PM -0400, bdina at seresc.net wrote:
> 
> unfortunately when I said that my fdisk has no "b" to switch to bsd
> disklabel, it really does not, I had used "m" for help, and it is not
> listed.

I cannot check that at this moment but it somehow hard to believe
that 'fdisk' you got on  AC-0.9 CDs is unable to write disklabels.
As a matter of fact 'b' is really a regular facility for a Linux
fdisk even if it is not used that often on a given platform.  I just
looked on x86 and x86_64 installations and surely enough it is
there. 

> also I have heard of a core 1.0, mine is 0.9...

AFAIK there are no installation CDs for 1.0a yet; just a bunch
of packages.  This may change pretty soon.

> Im a fairly certain I have not written MS-DOS type partitions... fdisk does
> always report it starts in BSD disklabel.

Maybe that is a reason that 'b' is then turned off?  In any case if
you are printing partition tables then printouts for both types are
quite distinct so it is hard to take one for another.  If you do have
disklabel and you left unpartioned space at a disk start for aboot
then you are set.  /etc/aboot.conf is only a convenience.  You can
boot with '-fl i' and type whatever you desire at aboot prompt which
will then show up. /etc/aboot.conf can be added later.

   Michal



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  2:53       ` michal
@ 2005-04-05  3:16         ` bdina
  2005-04-05  6:03           ` michal
  2005-04-05 10:00           ` ntbrito
  0 siblings, 2 replies; 16+ messages in thread
From: bdina @ 2005-04-05  3:16 UTC (permalink / raw)


Quoting Michal Jaegermann <michal at ellpspace.math.ualberta.ca>:
> 
> I cannot check that at this moment but it somehow hard to believe
> that 'fdisk' you got on  AC-0.9 CDs is unable to write disklabels.
> As a matter of fact 'b' is really a regular facility for a Linux
> fdisk even if it is not used that often on a given platform.  I just
> looked on x86 and x86_64 installations and surely enough it is
> there. 
>

I agree.  Somehow though something has changed.
 
> >  fdisk does always report it starts in BSD disklabel.
> 
> Maybe that is a reason that 'b' is then turned off?  In any case if
> you are printing partition tables then printouts for both types are
> quite distinct so it is hard to take one for another.  If you do have
> disklabel and you left unpartioned space at a disk start for aboot
> then you are set.  /etc/aboot.conf is only a convenience.  You can
> boot with '-fl i' and type whatever you desire at aboot prompt which
> will then show up. /etc/aboot.conf can be added later.
>

why would my fdisk start in BSD disklabel, there must be data somewhere on that
disk that is causing that.

That (fdisk starting in BSD disklabel) must be why 'b' is turned off.  

I have left unpartitioned space (after the manual partitioning), however it is
not as clean as I would like it to be, seeing as how I have the Free space, and
the Foreign space.  Something is screwed up and I feel that I will need a "real"
fresh start to correct everything.  I am going to try tomorrow and low level
format the disk, and start over.  I am just going to boot from the CD, and use
dd to remove all data.  Maybe that will get me back to normal.  I should be able
to follow the directions I posted to the list, if I can't then something is
wrong, and could cause other things down the line to also be wrong.

--Bryan

----------------------------------------------------------------------
This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  3:16         ` bdina
@ 2005-04-05  6:03           ` michal
  2005-04-05 10:00           ` ntbrito
  1 sibling, 0 replies; 16+ messages in thread
From: michal @ 2005-04-05  6:03 UTC (permalink / raw)


On Mon, Apr 04, 2005 at 11:16:39PM -0400, bdina at seresc.net wrote:
> 
> why would my fdisk start in BSD disklabel, there must be data
> somewhere on that disk that is causing that.

My best guess would be that these data are called "an existing
BSD type partition table".

If you are not certain what you managed to write there then zero out
first two disk sectors (in the way like it was posted previously) and
make sure that after that you wrote a decent partition table of
"disklabel" type with a space left for an aboot loader.  Once you have
that in place you may follow with all other installation steps.

If an installer will write sane aboot.conf for you that is a good
question but if not then fixing that later is not that difficult.
For a good example how such file looks check your first installation
disk although there this file is called aboot.cnf due to iso9660,
without extensions, file system limitations.

   Michal



^ permalink raw reply	[flat|nested] 16+ messages in thread

* aboot not working or something
  2005-04-05  3:16         ` bdina
  2005-04-05  6:03           ` michal
@ 2005-04-05 10:00           ` ntbrito
  1 sibling, 0 replies; 16+ messages in thread
From: ntbrito @ 2005-04-05 10:00 UTC (permalink / raw)


Hi,
I've been watching all this discussion without interfering because you 
are having the best help one can have in this list. The people who's 
helpping you helpped me a lot in the past :-)
The very same problem happened to me with RH 7.2 i used fdisk to write 
the disk label (BSD mode) but when i tried to assign the partitions with 
disk druid they weren't there...
First let me say that when you start fdisk it is already in bsd mode, 
that's why you don't see any b option. If you leave fdisk with "q" you 
should go back to "dos mode". What i did at the time (if i remember) was 
to write the partition table in "dos mode". I created the partions (bsd 
label), leave without writing and then write them on "normal fdisk" with 
"w".

Regards,
nelson


bdina at seresc.net wrote:
> Quoting Michal Jaegermann <michal at ellpspace.math.ualberta.ca>:
> 
>>I cannot check that at this moment but it somehow hard to believe
>>that 'fdisk' you got on  AC-0.9 CDs is unable to write disklabels.
>>As a matter of fact 'b' is really a regular facility for a Linux
>>fdisk even if it is not used that often on a given platform.  I just
>>looked on x86 and x86_64 installations and surely enough it is
>>there. 
>>
> 
> 
> I agree.  Somehow though something has changed.
>  
> 
>>> fdisk does always report it starts in BSD disklabel.
>>
>>Maybe that is a reason that 'b' is then turned off?  In any case if
>>you are printing partition tables then printouts for both types are
>>quite distinct so it is hard to take one for another.  If you do have
>>disklabel and you left unpartioned space at a disk start for aboot
>>then you are set.  /etc/aboot.conf is only a convenience.  You can
>>boot with '-fl i' and type whatever you desire at aboot prompt which
>>will then show up. /etc/aboot.conf can be added later.
>>
> 
> 
> why would my fdisk start in BSD disklabel, there must be data somewhere on that
> disk that is causing that.
> 
> That (fdisk starting in BSD disklabel) must be why 'b' is turned off.  
> 
> I have left unpartitioned space (after the manual partitioning), however it is
> not as clean as I would like it to be, seeing as how I have the Free space, and
> the Foreign space.  Something is screwed up and I feel that I will need a "real"
> fresh start to correct everything.  I am going to try tomorrow and low level
> format the disk, and start over.  I am just going to boot from the CD, and use
> dd to remove all data.  Maybe that will get me back to normal.  I should be able
> to follow the directions I posted to the list, if I can't then something is
> wrong, and could cause other things down the line to also be wrong.
> 
> --Bryan
> 
> ----------------------------------------------------------------------
> This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)
> 
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list

-- 
Nelson Brito
http://www.fc.up.pt/pessoas/ntbrito



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-04-05 10:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04 20:34 aboot not working or something rm.riches
2005-04-04 21:08 ` bdina
2005-04-04 21:50   ` thursday
2005-04-05  0:37     ` bdina
2005-04-05  0:22   ` michal
2005-04-05  0:45     ` bdina
2005-04-05  1:43       ` bdina
2005-04-05  2:53       ` michal
2005-04-05  3:16         ` bdina
2005-04-05  6:03           ` michal
2005-04-05 10:00           ` ntbrito
  -- strict thread matches above, loose matches on Subject: below --
2005-04-04 14:58 bdina
2005-04-04 17:12 ` tsv
2005-04-04 18:18   ` bdina
2005-04-04 19:05     ` tsv
2005-04-04 20:05       ` bdina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox