Page 1 of 1

Thanks Great Distro: Have problems with Bootloader

Posted: 10 Dec 2012, 14:54
by AJones394
Used Slax before great distro, love slackware.

I am triple booting ArchLinux, Debian, and Porteus. This is my HD config.

My Partition
/dev/sda
/dev/sda1 --- NTFS DATA 768 GB
/dev/sda5 -NTFS - 678 GB
/dev/sda6 -Debian: 100 GB
/dev/sda3 Arch-Linux 73 GB
/dev/sda4 Porteus[ Just installed now with Boot Loader] Boot option
/dev/sda2 Linux-Swap

Porteus on /dev/sda4 , cannot see GRUB for booting Arch and Debian;
New boot-loader from Porteus installed on /dev/sda4 . Does not list Arch and Debian

Tried installing Grub2 using Porteus Software Manager, tried grub-install /dev/sda ; I just get grub>rescue, cannot find root message.

Thanks,
Alan

Re: Thanks Great Distro: Have problems with Bootloader

Posted: 10 Dec 2012, 22:37
by fanthom
Hi Alan,

when installing to a hard drive you have replaced your existing boot loader with Porteus one.

the simplest solution would be to edit /dev/sda4/boot/porteus.cfg and add entries for other Linuxes (Arch, Debian).
please copy kernel and initrd (if required) from arch/debian partition to /mnt/sdb4/boot and edit porteus.cfg file with any editor - not other action is required.

anyway - i find grub to be superior to extlinux so once you get arch/debian running you could reinstall grub2 (from arch or deban) and then add porteus entry to it.

let us know in case of troubles.

Re: Thanks Great Distro: Have problems with Bootloader

Posted: 11 Dec 2012, 03:43
by AJones394
I chrooted and set things right, A strange thing as was my experience with slax was, I had slax and tiny core on the same partition, and had a grub entry to load either of them sharing a partition.

In my case now, I tried slackware 14.0 on /dev/sda4, and when I installed Porteus on it, it did not format/overwrite Slackware 14.0, and in my Grub entry I can boot Slackware 14.0, and when it comes to login prompt, I get tty login screen 4.4 Porteus login:

Strange,

I am trying to add chainloader + for Porteus to existing grub.


I tried, menuentry (hd0,3) "Porteus v1,2"{
insmod ext3
root(hd0,3)
}

or something to that effect,

I get this error at grub bootime:

cant find /boot/grub/ext3.mod
Unable to boot, Press a button to exit.

Re: Thanks Great Distro: Have problems with Bootloader

Posted: 11 Dec 2012, 11:07
by AJones394
Got it working, Now I have both Porteus and Slackware 14.0 on the same partition and booting.
Most Modules downloaded via PAckage Manager gets installed by root, and only root can open/use them, any other way for regular users to open them.

Thanks
Alan

Re: Thanks Great Distro: Have problems with Bootloader

Posted: 11 Dec 2012, 13:46
by brokenman
Most Modules downloaded via PAckage Manager gets installed by root
Assuming you are booting into the guest account, the package manager (PPM) is opened as root and downloads the modules that you choose. It then asks to activate them, or you manually activate them. The activated modules are injected into the file system and should then be available in the 'guest' menu.

Re: Thanks Great Distro: Have problems with Bootloader

Posted: 27 Dec 2012, 04:37
by francois
For the record, I write it here. I will sure need it in the future as I always work with grub legacy. I was able to get porteus v 1.2 kde 32bit to work under grub2, with with the following entry en/etc/grub.d/40_custom. :

Code: Select all

menuentry "porteus v10_32 (on sda2/32bit_v12)" {
set root=(hd0,2)
linux /32bit_v12/boot/vmlinuz from_dev=/dev/sda2 from_dir=/32bit_v12/porteus changes=/mnt/sda2/32bit_v12/1.2_cfg toroot kmap=ca 
initrd /32bit_v12/boot/initrd.xz
}
Porteus /boot and /porteus folders where in /mnt/sda2/32bit_v12 :)