Grub weirdness

2008-07-03 Thread Noam Rathaus
Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian via debian-installer (testing version) 2) Get a standard desktop running 3) Download a tar.gz of another debian-installer based system 4) Boot into a network-based rescue

Re: Grub weirdness

2008-07-03 Thread Yedidyah Bar-David
On Thu, Jul 03, 2008 at 01:26:48PM +0300, Noam Rathaus wrote: Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian via debian-installer (testing version) 2) Get a standard desktop running 3) Download a tar.gz

Re: Grub weirdness

2008-07-03 Thread Shachar Shemesh
Noam Rathaus wrote: Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian via debian-installer (testing version) 2) Get a standard desktop running 3) Download a tar.gz of another debian-installer based system 4) Boot

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
I will try and get back to you :) On Thursday 03 July 2008 13:46:48 Yedidyah Bar-David wrote: On Thu, Jul 03, 2008 at 01:26:48PM +0300, Noam Rathaus wrote: Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
... Maybe a better approach would be to format the /dev/sda partition first? On Thursday 03 July 2008 13:49:09 Shachar Shemesh wrote: Noam Rathaus wrote: Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian via debian

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
, Jul 03, 2008 at 01:26:48PM +0300, Noam Rathaus wrote: Hi, We encountered a grub weirdness and I can't find any reference to this issue on the Internet. Recipe: 1) Install debian via debian-installer (testing version) 2) Get a standard desktop running 3) Download a tar.gz

Re: Grub weirdness

2008-07-03 Thread Shachar Shemesh
Noam Rathaus wrote: Hi, The blue menu doesn't appear, only the prompt. Can you boot anyways? Take the commands written in the menu.lst file under the kernel version you want and type them at the prompt one at a time, adding boot as the last command. It should start the right kernel. Was

Re: Grub weirdness

2008-07-03 Thread Shachar Shemesh
Noam Rathaus wrote: Hi, I mounted the problematic disk with a rescue disk. Under /mnt/custom Now when I try to run grub-install: grub-install --root-directory=/mnt/custom /dev/sda I get The file /mnt/custom/grub/boot/stage1 not read correctly Don't use --root-directory. Chroot into it.

Re: Grub weirdness

2008-07-03 Thread Yedidyah Bar-David
On Thu, Jul 03, 2008 at 02:03:13PM +0300, Noam Rathaus wrote: Hi, The blue menu doesn't appear, only the prompt. Everything is identical the only different between before and after is that the tar.gz is based on stable kernel, while the installer was based on a testing kernel. But

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
Hi, Issue is that if I chroot, there is no /dev/sda there.. unless u tell me how to manually create it :) On Thursday 03 July 2008 14:17:46 Shachar Shemesh wrote: Noam Rathaus wrote: Hi, I mounted the problematic disk with a rescue disk. Under /mnt/custom Now when I try to run

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
Hi, My aim is to take a dump of one server (tar.gz) and put it on a new server, effectively duplicating the computer. On Thursday 03 July 2008 14:21:54 Yedidyah Bar-David wrote: On Thu, Jul 03, 2008 at 02:03:13PM +0300, Noam Rathaus wrote: Hi, The blue menu doesn't appear, only the

Re: Grub weirdness

2008-07-03 Thread Noam Rathaus
I got the /dev/sda created under /mnt/custom The error still presists though... This is what I can find: If you get an error that says The file /boot/grub/stage1 not read correctly, it probably means that your fstab/mtab is incorrect for some reason and needs to be fixed. These files are

Re: Grub weirdness

2008-07-03 Thread Omer Zak
Since no one has already suggested the following, I'm making this suggestion: 1. cp -r /boot /tmp/boot-before 2. Untar the tarfile 3. cp -r /boot /tmp/boot-after 4. diff -r /tmp/boot-before /tmp/boot-after 5. Study the differences. 6. ??? 7. Profit! On Thu, 2008-07-03 at 15:04 +0300, Noam Rathaus

Re: Grub weirdness [solved]

2008-07-03 Thread Noam Rathaus
Hi, The problem is solved, the error still there if I do it from the rescue disk, but it boots if I do it manually from the grub prompt. Once it booted, I re-run grub-install and now it works without doing it from the prompt :) Thanks guy. On Thursday 03 July 2008 15:34:28 Noam Rathaus

Re: Grub weirdness

2008-07-03 Thread Yedidyah Bar-David
On Thu, Jul 03, 2008 at 03:48:15PM +0300, Omer Zak wrote: Since no one has already suggested the following, I'm making this suggestion: 1. cp -r /boot /tmp/boot-before 2. Untar the tarfile 3. cp -r /boot /tmp/boot-after 4. diff -r /tmp/boot-before /tmp/boot-after 5. Study the differences.

Re: Grub weirdness

2008-07-03 Thread Yedidyah Bar-David
On Thu, Jul 03, 2008 at 03:04:05PM +0300, Noam Rathaus wrote: Hi, My aim is to take a dump of one server (tar.gz) and put it on a new server, effectively duplicating the computer. OK, so I repeat my suggestion below: Do not duplicate the files that belong to grub, only the rest of the

Re: Grub weirdness [solved]

2008-07-03 Thread Ehud Karni
On Thu, 3 Jul 2008 16:00:11 +0300, Noam Rathaus [EMAIL PROTECTED] wrote: The problem is solved, the error still there if I do it from the rescue disk, but it boots if I do it manually from the grub prompt. Once it booted, I re-run grub-install and now it works without doing it from the

Re: Grub weirdness [solved]

2008-07-03 Thread Amos Shapira
2008/7/4 Ehud Karni [EMAIL PROTECTED]: On Thu, 3 Jul 2008 16:00:11 +0300, Noam Rathaus [EMAIL PROTECTED] wrote: The problem is solved, the error still there if I do it from the rescue disk, but it boots if I do it manually from the grub prompt. Once it booted, I re-run grub-install and now