Re: Now that I have working box, any problems with LVM?

2005-06-21 Thread J.A. de Vries
On 2005-06-21 @ 10:34:46 (week 25) Lennart Sorensen wrote:

 -A raid card that costs less than $200 probably isn't hardware raid and
  is the same as the onboard raid just on a pci card.  I suspect there may
  be a few hardware raid cards just below $200, but probably not many.
  There are many software raid cards at around $100.

Silly me, here I was thinking this mobo provided hardware RAID. I should
have known better.

Thanks!

Grx HdV


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



Re: Now that I have working box, any problems with LVM?

2005-06-20 Thread J.A. de Vries
On 2005-06-19 @ 20:06:49 (week 24) Goswin von Brederlow wrote:

 Apart from those hints I have only one problem with lvm on my amd64:
 Reconstructing a raid5 on lvm only does 1MB/s (instead of 50 MB/s
 vithout lvm). Usage speed doesn't suffer though, it just takes forever
 to build the first time or when replacing a disk.

Hi Goswin,

Thanks for the information.

I decided to not put / in LVM for now. Maybe I will later on, when I
have a bit more time to experiment. At the moment I am not using the
RAID facilities of the mobo, but I might so I will try to remember your
remarks on that too.

Sincerely,

HdV


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



Re: Now that I have working box, any problems with LVM?

2005-06-16 Thread J.A. de Vries
Hi David and others,

 I have been using LVM with debian/amd64 since I first set up the box, 
 including the root FS - a relatively long time now. It is quite stable, I 
 can tell you that much. I myself use reiserfs, which you can, along with 
 LVM, resize online and so forth. It's not your only filesystem choice by 
 any means; I won't get into that whole debate.   :)

I know, that's a subject that has generated more than it's share of
flamewars in itself }:-)

I myself tend to stay a bit on the conservative side when making these
choices. Up to now I still use ext3, but I am considering ReiserFS for
the new box...

 At the time I set up, the installer had menu choices for installing over 
 LVM, but these were broken. I had to install on a non LVM partition, set 
 up LVM by hand, and copy over (which wasn't so hard, really). Not sure if 
 this is fixed in later installer releases.

I didn't try yet, but I seem to remember seeing an option for LVM during
the install. I might just try it out. I can always start anew if it
proves to be broken.

 You're always going to have at least your little /boot filesystem 
 (containing your kernel and initrd) outside of LVM.

Thanks. I suspected as much, but wasn't sure.

 The tricky piece was getting the root filesystem in LVM; for that you need 

[snip]

 Overall it's about remembering, too, that everytime you rebuild your 
 kernel image packages you have to go through this procedure and create a 
 working ramdisk, along with a custom grub/menu.lst that uses it. Of course 
 the debian kernel image scripts wipe out whatever grub configuration you 
 have in place and replace it with the generic one that won't work...

Good info there. 

I've decided to go for it, but am still not sure whether I'll add / to
LVM too. Most of the time I make separate partitions for /, /var, /tmp,
/usr, /usr/local and /home (in that order). All the other filesystems
will go in LVM. I figure I'll just start experimenting with / in and out
of LVM and see what feels best to me. That way I can get a good feel
for things.

 If you're interested in doing this, I can email you sample configs and 
 other details...

I would appreciate that very much. I'd give me something to build on.

Grx HdV


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



Re: Successful install, but no boot

2005-06-15 Thread J.A. de Vries
On 2005-06-15 @ 08:23:44 (week 24) Mahesh T. Pai wrote:

 grub-install --recheck /dev/hda

I did that yesterday, but it came back without any error whatsoever and
the devices map was OK too. Still no go.

Grx HdV


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



Re: Successful install, but no boot

2005-06-15 Thread J.A. de Vries
On 2005-06-15 @ 09:57:50 (week 24) Mahesh T. Pai wrote:

 AFAICT, simply typing  `rescue' at the boot prompt  while booting from
 live CDs  helps, even if  th option  does not turn  up in F1  menu. In
 fact, I  distinctly remember somewhere  that rescue/live CDs  have far
 more options than can be found in the F1 menus.

Hmm, I will try that later on. With the netinstall iso that will
probably not work as I suspect it will be too barebones for that.

Thanks

Grx HdV

P.S. Knowing better I tried anyway, but no such luck.


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



Re: Re: Successful install, but no boot

2005-06-15 Thread J.A. de Vries
On 2005-06-14 @ 22:05:13 (week 24) Bob Isaac wrote:

  The system still won't recognize the harddisk as a
  boot device.
 
 Is Grub calling your initrd during boot?
 
 i.e. is there a line similar to this:
 
 initrd   /boot/initrd.img
 
 in your grub/menu.lst file beneath the entry for the kernel you are trying to 
 boot?

Hi Bob and all others that tried to help,

Thanks for taking the time! It is appreciated very much.

Meanwhile the problem has been solved. It was a hardware defect after
all. I went back to the shop [1] and they replaced the faulty parts
without any hassle at all. Just to make sure everything was OK this time
I did a barebones install on the spot. Everything proved to
work just fine after the replacements were installed. It still did when
I came home I am glad to say.

By the way that was a fun thing to do: they do sell this machine with
SUSE instead of that other OS if requested, but when I started
installing Debian they admitted to know close to nothing about *nix (but
they were willing to learn). I found out the company behind the shop is
German, so that probably explains why they do offer GNU/Linux. Compared
to the Germans we have some catching up to do here in Holland when it
comes to the use of FOSS. 

[1] I bought this machine at ikbenstil.nl (the Dutch version of
ichbinleise.de). They are not the cheapest, but they make good on their
promise of silent computing and judging from my experience the last
couple of days their service at very good indeed. So for those
interested in vendors with quality service I can recommend them.

Thanks again all!

Grx HdV


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



Successful install, but no boot

2005-06-14 Thread J.A. de Vries
Hi,

Yesterday I used the latest netinstall iso to install sarge on a new
system. The installation itself seemed to go smoothly, but when the
moment came to reboot nothing happened. The system did reboot but it
didn't find a boot device on hd0. It just hangs and asks Reboot and
Select propper Boot device or Insert  Boot Media in selected Boot device
and press key. I suspected something went wrong when writing the MBR to
the disk (the primary master hda), so I tried to install again. Alas,
that gave no improvement. The sytem doesn't report any errors, it just
sits there and waits (obviously, since it can't find a bootable
device...)

Anyone have any suggestions on how to proceed?

System specs:
MoBo: ASUS A8V Deluxe
CPU: AMD Athlon 64 Processor 3000+
RAM: 2GB
HDD: 2x SAMSUNG SP1614N (160GB)
DVD: TOSHIBA DVD-ROM SD-M1912

Any help would be appreciated very much!

Grx HdV

P.S. Just to exclude the possibility of write errors I did check the MD5
checksum on the ISO, but it was OK.

P.P.S. Using an Ubuntu Live disk I found that a seemingly complete
install was put on the harddisk. So most probably it is just a MBR
problem...


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 17:26:03 (week 24) Mahesh T. Pai wrote:

 J.A. de Vries said on Tue, Jun 14, 2005 at 10:51:06AM +,:
 
   Yesterday I used the latest netinstall iso to install sarge on a new
   system. The installation itself seemed to go smoothly, but when the
   moment came to reboot nothing happened. The system did reboot but it
   didn't find a boot device on hd0. It just hangs and asks Reboot and
 
 Is hd0 marked as bootable in the partiion table? 

Hadn't thought of that one yet. Good one.

Alas, no such luck: fdisk -l /dev/hda showed a nice asterix next to
/dev/hda1...

Too bad.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 09:10:01 (week 24) Lennart Sorensen wrote:

 I installed on an A8V Deluxe system a few weeks ago, although with a
 pair of 250G WD SATA drives.  It went completely smoothly, once I
 fixed my mistake of having only the cd as a boot device in the bios.  I
 think I reinstalled 3 times before I realized that I had hit the wrong
 key and deleted the hd from the boot device list rather than move it
 below the cdrom.
 
 So check your bios for the boot order and make sure the HD is listed
 there.

Hi Lennert,

It is. Already did check that before bothering the list.

Thanks for trying.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
Oops, used reply instead of list-reply. My bad. Here it is again, but
this time to the list:

 You probably just need to re-run LILO.  Us old-timers who are used to
 compiling kernels, we've all made that mistake often enough that it's
 no big
 deal, and we know the drill.

The Sarge netinstall used grub, so no lilo on this system. That said, I
too have the feeling the problem is in the MBR, but I am not really sure
how to generate a new one. I've only had 32-bit systems before and am
not really sure whether I can use a rescue disk from my old system to
generate a new MBR on this system.

 Boot with a CD, and type linux root=/dev/hda1 at the prompt.

I understand that would generate a new MBR in the first partition.
During installation I opted to write the MBR to the disk in /dev/hda.
Sadly neither grub nor lilo are to be found on the Live CD I am using
here (as root whereis lilo or whereis grub gave me nothing).

 This will use the CD's bootstrap loader, but the / directory will be
 whatever you specified.  You can type mount anyway just to make
 sure.  Now check your lilo.conf and, once you're sure it is correct,
 run /sbin/lilo to recreate the master boot record.

 If it doesn't like hda1, then try sda1 -- both at the boot prompt and
 in lilo.conf.

It seems I'll have to create a rescue disk with grub on it first. That
in itself isn't a problem, but I am wondering if I can do that on my
other working but non 64-bit system. Ah, what the heck I'll just try.
Coasters are cheap... }:-)

Thanks for trying to help.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
Hi Goswin,

My apologies, I sent my answer to you directly. Here it is again, but
this time with a propper list-reply:

 Check that the bios and grub agree on the order of the drives. Try
 running grub-install for the other drive or switch the mapping in
 /boot/grub/device.map.

I forgot to mention in my first message that I have removed the second
drive in order to reduce to problem to the most simple setup. So right
now I have only 1 HDD as the primary master and 1 DVD player as the
secondary master.

Just to be sure I changed /boot/grub/device.map anyway [1], but it did
not help.

Thanks for the suggestion.

I get the feeling that the system somehow is not able to access or read
the MBR, but why that might be I am not sure. I thought of writing the
MBR anew, but this Live CD does not offer grub, nor grub-install. Do you
know if I can use a Knoppix 3.8.2 CD on an amd64 system without asking
for more trouble?

Grx HdV

P.S. I did that by issueing mount -t auto /dev/hda1 /mnt from a root
console in Ubuntu Live.



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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 11:08:27 (week 24) Lennart Sorensen wrote:

 Doesn't the install cd have a rescue mode anymore?  I know they did in
 the past but I haven't used it in a long time.

Hmm, I thought to remember that too, but F1 revealed no such option.
 
 Make sure the BIOS doesn't have the useless feature 'boot virus
 protection' enabled, since that will prevent updating the boot sector.

That pitfall I have managed to avoid. I had disabled it already.

Thanks.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 16:03:58 (week 24) Clive Menzies wrote:

 DFS (debian from scratch) is a great Live 'CD' with lots of tools and it 
 boots a grub prompt:
 
 http://people.debian.org/~jgoerzen/dfs/html/dfs.html

Thanks. I am gonna try that right now. I'll keep you posted.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 11:08:27 (week 24) Lennart Sorensen wrote:

 Doesn't the install cd have a rescue mode anymore?  I know they did in
 the past but I haven't used it in a long time.

Well, I can't break out of the netinstall. I tried exit and even CTRL-C
from the prompt, but to no avail.

I did notice something else though when studying syslog:

Jun 13 20:31:43 localhost kernel: hda: dma_timer_expiry: dma status == 0x61
Jun 13 20:31:43 localhost kernel: hda: DMA timeout error
Jun 13 20:31:43 localhost kernel: hda: dma timeout error: status=0x58 { 
DriveReady SeekComplete DataRequest }
Jun 13 20:31:43 localhost kernel: 
Jun 13 20:31:43 localhost kernel: ide: failed opcode was: unknown

Do you or someone else know whether this indicates a hardware problem, or is
it just a harmless status message?

Sincerely,

HdV



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 17:34:28 (week 24) Markus Brinkmann wrote:

 http://www.kanotix.org
 is an debian based Live-CD with Grub Bootmanager and is avaliable as an
 i386 and amd64 - Version

I just burned a Kanotix-64 Live CD and used it to mount /dev/hda1. I was
able to run grub-install /dev/hda without any errors, but it didn't
solve the problem. The system still won't recognize the harddisk as a
boot device.

I am getting all out of ideas here. I am beginning to suspect there is a
hardware problem somewhere in this story, but I haven't found it yet.

Grx HdV


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



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 16:03:58 (week 24) Clive Menzies wrote:

 DFS (debian from scratch) is a great Live 'CD' with lots of tools and it 
 boots a grub prompt:
 
 http://people.debian.org/~jgoerzen/dfs/html/dfs.html

It seems like a very nice tool, but I couldn't get it to work.

First I had to edit /etc/dfsbuild/dfs.cfg, because the mirror setting for
[repo amd64] was pointing to a non-existent location (may be due to the
recent move of the repository). I changed it to 
mirror = http://debian-amd64.alioth.debian.org/debian-amd64/ 
which seems to work. 

Then I commented out the default mirror setting pointing to localhost as
it caused a fatal error when trying to rm some files. 

Now it bails out with:

Creating Packages files...
Building: unstable dists/unstable/main/binary-amd64 Packages
Creating Release files...
Building: unstable Release
Building: unstable Contents

All done, exiting.
Running: rm -v
/home/hdv/tmp/dfs//target/var/lib/apt/lists/debootstrap.invalid_dists_sid_main_binary-amd64_Packages
/home/hdv/tmp/dfs//target/var/lib/apt/lists/debootstrap.invalid_dists_unstable_Release
removed
`/home/hdv/tmp/dfs//target/var/lib/apt/lists/debootstrap.invalid_dists_sid_main_binary-amd64_Packages'
removed
`/home/hdv/tmp/dfs//target/var/lib/apt/lists/debootstrap.invalid_dists_unstable_Release'
Fatal error: exception Not_found

Anyway, I built a Kanotix-64 Live CD and ran grub-install /dev/hda
from that. Sadly it didn't solve the problem. The system still sees no
boot device there after rebooting.

Grx HdV



Re: Successful install, but no boot

2005-06-14 Thread J.A. de Vries
On 2005-06-14 @ 17:52:25 (week 24) Nathan Dragun wrote:

 I have this problem as well every time I update grub, it tells me the 
 boot disks are located at (2,0) but they're really located at (0,0).  I 
 was able to solve this by manually editing this through the grub boot 
 menu and then saving the changes.  Of course I need to do this every 
 time I update grub, but it works.

Someone else suggested something like this as well. But I've already
tried editing the device map to no avail. 

It is getting late here, so I am going to bed. Maybe tomorrow someone
(possibly even me) comes up with the winning idea. If not I'll bring
back the box to the vendor. I've never given up before when it comes to
getting a computer to work, but at the moment I really can't afford to
invest this much time (three days now) in getting a system to work, no
matter how nice it is. Too bad, I really liked the fact that it was
almost completely quiet.

Grx HdV


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