Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-04-02 Thread Tom H
On Mon, Apr 2, 2012 at 7:48 AM, David Banks wrote: > On 29/03/12 17:23, Tom H wrote: >> On Thu, Mar 29, 2012 at 7:25 AM, Andrei POPESCU >> wrote: >>> On Jo, 29 mar 12, 11:56:51, David Banks wrote: >>> >>> [snip no obvious problem] >>> >>> Sorry, I'm out of ideas. I would suggest, if you don't get

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-04-02 Thread David Banks
On 29/03/12 21:41, Arnt Karlsen wrote: >> I have successfully installed both distros and wiped grub from the MBR >> of the second disk using dd. > > ..2 words; Big Mistake. > > ..you wanna put grub on _both_ disks, that way your worst scenario > becomes the grub command line, rather than some hun

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-04-02 Thread David Banks
On 29/03/12 17:33, Tom H wrote: > On Thu, Mar 29, 2012 at 7:25 AM, Andrei POPESCU > wrote: >> On Jo, 29 mar 12, 11:56:51, David Banks wrote: >> >> [snip no obvious problem] >> >> Sorry, I'm out of ideas. I would suggest, if you don't get any more >> suggestions in a few days (say over the weekend)

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-04-02 Thread David Banks
On 29/03/12 17:23, Tom H wrote: > On Thu, Mar 29, 2012 at 7:25 AM, Andrei POPESCU > wrote: >> On Jo, 29 mar 12, 11:56:51, David Banks wrote: >> >> [snip no obvious problem] >> >> Sorry, I'm out of ideas. I would suggest, if you don't get any more >> suggestions in a few days (say over the weekend)

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-30 Thread Andrei POPESCU
On Jo, 29 mar 12, 09:24:30, David Banks wrote: > > I have successfully installed both distros and wiped grub from the MBR > of the second disk using dd. kFreeBSD boots fine, however I have had > trouble getting a working Grub menu entry for Squeeze. I am using Grub > 1.99-18. Possible workaroun

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-30 Thread Arnt Karlsen
On Thu, 29 Mar 2012 09:24:30 +0100, David wrote in message : > Hey all, > > I am trying to set up a dual-boot machine with Debian kFreeBSD (sid) > and Debian Linux (squeeze). The machine has two hard disks, the > first disk has kFreeBSD on it and I want to use this disk to boot > both OSs. Sque

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Andrei POPESCU
On Jo, 29 mar 12, 15:38:04, Martin Steigerwald wrote: > > Could it be, that currently the GRUB from the Linux side is used? Or maybe that grub in the MBR is trying to use the modules from the Linux side? That might explain the errors (version mismatch, since the Linux side is squeeze not sid).

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Tom H
On Thu, Mar 29, 2012 at 7:25 AM, Andrei POPESCU wrote: > On Jo, 29 mar 12, 11:56:51, David Banks wrote: > > [snip no obvious problem] > > Sorry, I'm out of ideas. I would suggest, if you don't get any more > suggestions in a few days (say over the weekend) you contact the > kFreeBSD port maintaine

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Tom H
On Thu, Mar 29, 2012 at 7:25 AM, Andrei POPESCU wrote: > On Jo, 29 mar 12, 11:56:51, David Banks wrote: > > [snip no obvious problem] > > Sorry, I'm out of ideas. I would suggest, if you don't get any more > suggestions in a few days (say over the weekend) you contact the > kFreeBSD port maintaine

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread David Banks
On 29/03/12 14:38, Martin Steigerwald wrote: >> grub> search --file /boot/grub/core.img >> hd1,msdos1 > > Thats strange. I thought GRUB was installed on the kFreeBSD hd0. Yeah, I confirmed that these files are definitely present on the kFreeBSD partition, so I have no idea why GRUB can't see the

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Martin Steigerwald
Am Donnerstag, 29. März 2012 schrieb David Banks: > On 29/03/12 12:57, Martin Steigerwald wrote: > >> However, when I boot this I get this error three times: > >> error: file not found. > > > > What is before the file not found? Does it give a hint as to which > > file it did not found? Or what

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread David Banks
Hi Martin, On 29/03/12 12:57, Martin Steigerwald wrote: >> However, when I boot this I get this error three times: >> >> error: file not found. > > What is before the file not found? Does it give a hint as to which file it > did not found? Or what it was trying to do before printing the error

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Martin Steigerwald
Am Donnerstag, 29. März 2012 schrieb David Banks: > menuentry 'squeeze' --class debian --class gnu-linux --class gnu > --class os { > insmod part_msdos > insmod ext2 > set root='(hd1,msdos1)' > linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sdb1 ro quiet > initrd /boot

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Andrei POPESCU
On Jo, 29 mar 12, 11:56:51, David Banks wrote: [snip no obvious problem] Sorry, I'm out of ideas. I would suggest, if you don't get any more suggestions in a few days (say over the weekend) you contact the kFreeBSD port maintainers (debian-bsd?) or file a bug against grub. Kind regards, Andrei

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread David Banks
On 29/03/12 11:36, Andrei POPESCU wrote: > Does the ext2 module exist on the kFreeBSD partition (wherever the other > grub modules are, presumably /boot/grub/)? ls -l /boot/grub/ext2.mod shows that the file is there, with a size of 5892 bytes. > Is the MBR grub image in sync with the modules (do

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Andrei POPESCU
On Jo, 29 mar 12, 11:19:23, David Banks wrote: > > menuentry 'Squeeze' --class debian --class gnu-linux --class gnu --class os { > insmod part_msdos > insmod ext2 > set root='(hd1,msdos1)' > linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sdb1 ro quiet > initrd /boot/initrd.img-2.

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread David Banks
On 29/03/12 10:16, Andrei POPESCU wrote: > Please attach your full /boot/grub/grub.cfg Here is the /boot/grub/grub.cfg. I am installing it with "grub-install /dev/ad0" in kFreeBSD, which completes successfully. Correction: I only get the "file not found" error repeated twice now. Cheers, David

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread David Banks
On 29/03/12 10:38, Jon Dowland wrote: > Do you have your kernel and initramfs inside the directory /boot on the > root filesystem, or do you have a separate boot partition? The kernel and initrd are inside /boot on the root filesystem, no separate boot partition. Cheers, David -- To UNSUBSCRIB

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Jon Dowland
On Thu, Mar 29, 2012 at 09:24:30AM +0100, David Banks wrote: > menuentry 'squeeze' --class debian --class gnu-linux --class gnu > --class os { > insmod part_msdos > insmod ext2 > set root='(hd1,msdos1)' > linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sdb1 ro quiet > i

Re: Dual-boot with kFreeBSD and Linux cannot find Linux kernel

2012-03-29 Thread Andrei POPESCU
On Jo, 29 mar 12, 09:24:30, David Banks wrote: ... > I tried to manually add a menu entry for squeeze as such, within > /etc/grub.d/40_custom: Please attach your full /boot/grub/grub.cfg Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.or