Re: Sys will boot from floppy but not from HD

2007-02-19 Thread Daniel Tryba
On Sun, Feb 18, 2007 at 06:01:28PM -0600, Lance Hoffmeyer wrote:
 I have an old problem that I now wish to fix since I have just upgraded
 my file server.  I can boot the server from a floppy but when I try to
 boot directly from the Hard Drive all I get is 01 01 01 01 ...
[snip]
 What should I try next?

Dump that PITA lilo and install a more intelligent bootloader.

You could first try to reinitialize the mbr with somehting like:
install-mbr -r -k -p 1 /dev/hda

-- 

 When you do things right, people won't be sure you've done anything at all.

   Daniel Tryba


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sys will boot from floppy but not from HD

2007-02-19 Thread nor

The configuration should be

boot = /dev/hda
root = /dev/hda1

Bios boots from /dev/hda not from /dev/hda1


Lance Hoffmeyer escribió:

Hey all,

I have an old problem that I now wish to fix since I have just upgraded
my file server.  I can boot the server from a floppy but when I try to
boot directly from the Hard Drive all I get is 01 01 01 01 ...

I have booted from the floppy and rerun lilo -v
OUTPUT:
Reading boot sector from /dev/hda1
Merging with /boot/boot-menu-b ...

I have checked and  /dev/hda1 is bootable

in lilo.conf

boot = /dev/hda1
root = /dev/hda1

What should I try next?

Lance




  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sys will boot from floppy but not from HD

2007-02-19 Thread A J Stiles
On Monday 19 February 2007 00:01, Lance Hoffmeyer wrote:
 Hey all,

 I have an old problem that I now wish to fix since I have just upgraded
 my file server.  I can boot the server from a floppy but when I try to
 boot directly from the Hard Drive all I get is 01 01 01 01 ...

 I have booted from the floppy and rerun lilo -v
 OUTPUT:
 Reading boot sector from /dev/hda1
 Merging with /boot/boot-menu-b ...

 I have checked and  /dev/hda1 is bootable

 in lilo.conf

 boot = /dev/hda1
 root = /dev/hda1

Just checked my lilo.conf on another machine  (not my 64-bit one, which is 
using grub)  and this has:

boot=/dev/hda
root=/dev/hda3

(I've a small /boot partition and a swap partition in hda1 and hda2 
respectively, so hda3 is the root partition).

I think you normally want lilo to install in the MBR, which would be /dev/hda 
and not hda1.  You only install lilo into an actual partition if you are 
using it as a secondary bootstrap loader which gets called up by some other 
bootstrap loader (such as Windows' NTLDR).  If you're single-booting Debian 
then you definitely want lilo installed in the MBR.

It's easy to fix; just boot from some other media, mount your usual drives 
under some convenient mountpoint, chroot to there, run lilo and remember to 
EXIT FROM THE CHROOT WITH CTRL+D before you reboot.  (If you don't exit the 
chroot, the changes you made could get lost.)

-- 
AJS
delta echo bravo six four at earthshod dot co dot uk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sys will boot from floppy but not from HD

2007-02-19 Thread Matthew Robinson

A J Stiles wrote:

On Monday 19 February 2007 00:01, Lance Hoffmeyer wrote:
  

Hey all,

I have an old problem that I now wish to fix since I have just upgraded
my file server.  I can boot the server from a floppy but when I try to
boot directly from the Hard Drive all I get is 01 01 01 01 ...

I have booted from the floppy and rerun lilo -v
OUTPUT:
Reading boot sector from /dev/hda1
Merging with /boot/boot-menu-b ...

I have checked and  /dev/hda1 is bootable

in lilo.conf

boot = /dev/hda1
root = /dev/hda1



Just checked my lilo.conf on another machine  (not my 64-bit one, which is 
using grub)  and this has:


boot=/dev/hda
root=/dev/hda3

(I've a small /boot partition and a swap partition in hda1 and hda2 
respectively, so hda3 is the root partition).


I think you normally want lilo to install in the MBR, which would be /dev/hda 
and not hda1.  You only install lilo into an actual partition if you are 
using it as a secondary bootstrap loader which gets called up by some other 
bootstrap loader (such as Windows' NTLDR).  If you're single-booting Debian 
then you definitely want lilo installed in the MBR.


It's easy to fix; just boot from some other media, mount your usual drives 
under some convenient mountpoint, chroot to there, run lilo and remember to 
EXIT FROM THE CHROOT WITH CTRL+D before you reboot.  (If you don't exit the 
chroot, the changes you made could get lost.)
  
You also need to mount /dev and /proc in the chroot. Commands will look 
something like this:



mkdir /mychroot/dev
mkdir /mychroot/proc
mount -o bind /dev /mychroot/dev
mount proc -t proc /mychroot/proc

Matt


Re: Sys will boot from floppy but not from HD

2007-02-19 Thread Lennart Sorensen
On Mon, Feb 19, 2007 at 10:51:14AM +0100, nor wrote:
 The configuration should be
 
 boot = /dev/hda
 root = /dev/hda1
 
 Bios boots from /dev/hda not from /dev/hda1

If there is an MBR program installed that boots active partition, then
lilo can be on hda1.  I always did that back when I used lilo many many
years ago.  Also safer for dual boots since installing windows would
overwrite the MBR, but if you just had to change the active partition
back to the linux partition it was simple to require from microsoft dual
boot hostility.  With the boot loader in the MBR you needed to boot some
entirely other way to recover and reinstall the boot loader.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sys will boot from floppy but not from HD

2007-02-19 Thread Lennart Sorensen
On Sun, Feb 18, 2007 at 06:01:28PM -0600, Lance Hoffmeyer wrote:
 I have an old problem that I now wish to fix since I have just upgraded
 my file server.  I can boot the server from a floppy but when I try to
 boot directly from the Hard Drive all I get is 01 01 01 01 ...
 
 I have booted from the floppy and rerun lilo -v
 OUTPUT:
 Reading boot sector from /dev/hda1
 Merging with /boot/boot-menu-b ...
 
 I have checked and  /dev/hda1 is bootable
 
 in lilo.conf
 
 boot = /dev/hda1
 root = /dev/hda1
 
 What should I try next?

You may have an old copy of lilo in the MBR.  Try installing the package
mbr and running install-mbr /dev/hda to replace the MBR with a generic
'boot the active partition' loader.  Or you could move the boot loader
to the MBR by changing boot= to /dev/hda.

It is also possible you are having a disk geometry issue caused to an
ancient bios (no idea what machine you are using or what size disk you
have).  Sometimes adding 'lba32' to lilo.conf can deal with disks over a
certain size.  Or you could use grub which is intelligent enough to
figure that out on its own.  Of course if the BIOS doesn't do LBA for
booting, then you have to ensure the boot loader and the boot partition
with the kernel is entirely within the first 1024 cylinders of the disk.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sys will boot from floppy but not from HD - SOLVED

2007-02-19 Thread Lance Hoffmeyer




-BEGIN PGP SIGNED MESSAGE- 
Hash: SHA1 

Thanks for all the replies. It was a config error

boot = /dev/hda1 should have been boot=/dev/hda

Now the system boots!

Thanks again,

Lance


Lance Hoffmeyer wrote:
 Hey all,
 
 I have an old problem that I now wish to fix since I have just 
 upgraded my file server. I can boot the server from a floppy
but 
 when I try to boot directly from the Hard Drive all I get is 01
01 
 01 01 ...
 
 I have booted from the floppy and rerun lilo -v OUTPUT: Reading 
 boot sector from /dev/hda1 Merging with /boot/boot-menu-b ...
 
 I have checked and /dev/hda1 is bootable
 
 in lilo.conf
 
 boot = /dev/hda1 root = /dev/hda1
 
 What should I try next?
 
 Lance
 
 
 
 

-BEGIN PGP SIGNATURE-

Version: GnuPG v1.4.2 (MingW32)

Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFF2cTaaqnEhL48XLARAh/oAJ4oWv0pYGu11XYx/AyJmYsn/gWXXgCfXU0S

6R6ZRR9TVEnv5XeBSaoTQV4=

=na2s

-END PGP SIGNATURE-






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Warning X locale

2007-02-19 Thread Francesco Pietra
On running a graphical application (ECCE builder)
warning messages appear, though the application is
then able to open a *.pdb file correctly. 

[EMAIL PROTECTED]:~$ ebuilder
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using
default
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text
Warning: Locale not supported for
XmbTextListToTextProperty
Warning: Cannot convert XmString to compound text

Any suggestion how to fix these warnings (that I
suppose related to the OS rather than the application)

Thanks
francesco pietra



 

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]