Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-27 Thread Андрей via Dng
Приветствую.


В Mon, 26 Aug 2019 14:51:51 +0200 (CEST), ты писал(а):

> I have a https://www.gigabyte.com/Motherboard/GA-MA790X-UD3P-rev-1x
> (I think), booting gpt partitioned 3TB disks with lilo.
> 
> It has a ~100MB ext2 /boot at start of the disk, having a small first
> /boot is a good practice.
> 
> I usually partition etc. the disks from some rescue media or in
> another box and then copies some pre-prepared image of a system to
> disk, chroot to target system and set up booting. That way I can get
> rid of udev which I don't need.

Thank you very much! I also thought the same, but asked first so that i
could escape a need to recopy huge volume of date due to
repartitioning.

Surely, making /boot as the first partition does the trick even for the
GPT-HDD on the BIOS-MB! And no need to use GRuB!


Андрей.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-26 Thread karl

Андрей:
> Please help to install LiLo to a GPT HDD.

I have a https://www.gigabyte.com/Motherboard/GA-MA790X-UD3P-rev-1x
(I think), booting gpt partitioned 3TB disks with lilo.

It has a ~100MB ext2 /boot at start of the disk, having a small first
/boot is a good practice.

I usually partition etc. the disks from some rescue media or in another
box and then copies some pre-prepared image of a system to disk, chroot
to target system and set up booting. That way I can get rid of udev 
which I don't need.

Regards,
/Karl Hammar


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-24 Thread Ralph Ronnquist via Dng


Arnt Karlsen wrote on 25/8/19 12:15 am:
> On Fri, 23 Aug 2019 00:48:10 -0400, Steve wrote in message 
> <20190823004810.18664...@mydesk.domain.cxm>:
> 
>> If I remember from my LILO days, LILO couldn't reach out 2.7 GB to
>> find a kernel.
> 
> ..can this be fixed with a simple patch to make lilo "reach out 
> beyond 2.7GB", or is there some nasty fundamental limitation 
> going on here?
> 

I don't know enough about LILO (anymore), but thought that it could
possibly be an option for you to change and use extlinux unstead.

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-24 Thread Arnt Karlsen
On Fri, 23 Aug 2019 00:48:10 -0400, Steve wrote in message 
<20190823004810.18664...@mydesk.domain.cxm>:

> If I remember from my LILO days, LILO couldn't reach out 2.7 GB to
> find a kernel.

..can this be fixed with a simple patch to make lilo "reach out 
beyond 2.7GB", or is there some nasty fundamental limitation 
going on here?

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-22 Thread Steve Litt
On Thu, 22 Aug 2019 21:07:42 +0700
Андрей via Dng  wrote:

> Приветствую.
> 
> 
> Please help to install LiLo to a GPT HDD.
> 
> Situation: I move installed OS from one drive (DOS partition scheme)
> to another (3 TB, GPT partition scheme). The motherboard is old: BIOS,
> Athlon 3000+. I have created single 2.7 TiB partition on which did
> place the installed OS. Did mount to it /proc, /dev, /sys.
> Changed /etc/lilo.conf with boot and root parameters according
> to the new drieve IDs. ChRooted to it, typed lilo. LiLo gave only one
> warning, that the drive is not the first one.
> 
> Result: BIOS tells me that the drive capasity is 801 GB instead of
> 3000. Well, for working as non bootable drive it worked alright.
> But booting from the new drive gives me L 99 99 99 ... error. -- The
> geometry problem, as i get it. And it halts booting.
> 
> Now. From Slackware site i read, that it is possible to install LiLo
> on a GPT-HDD, but is not specified how, and as i remember, even,
> without an additional "technical" partition.
> 
> So, how do i install LiLo so that it boots OS from the GPT-drive?

If I remember from my LILO days, LILO couldn't reach out 2.7 GB to find
a kernel. So what you did, back in the day, was make a small partition
right at the front of the disk for /boot. Then you put the real
partition(s) in the remaining space.

So mount the boot partition and the root partition, then chroot install.

I don't think it had as much to do with GPT as the huge /dev/sda1. If I
remember correctly, GPT puts a fake MBR right where you'd expect an MBR
to be, and that fake MBR has all the right information, so I think LILO
should be OK with that.

SteveT

Steve Litt 
August 2019 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Help to install LiLo to a GPT HDD.

2019-08-22 Thread Arnt Karlsen
On Thu, 22 Aug 2019 21:07:42 +0700, Андрей wrote in message 
<20190822170724.7mkco...@smtp4j.mail.yandex.net>:

> Приветствую.
> 
> 
> Please help to install LiLo to a GPT HDD.
> 
> Situation: I move installed OS from one drive (DOS partition scheme)
> to another (3 TB, GPT partition scheme). The motherboard is old: BIOS,
> Athlon 3000+. I have created single 2.7 TiB partition on which did
> place the installed OS. Did mount to it /proc, /dev, /sys.
> Changed /etc/lilo.conf with boot and root parameters according
> to the new drieve IDs. ChRooted to it, typed lilo. LiLo gave only one
> warning, that the drive is not the first one.
> 
> Result: BIOS tells me that the drive capasity is 801 GB instead of
> 3000. Well, for working as non bootable drive it worked alright.
> But booting from the new drive gives me L 99 99 99 ... error. -- The
> geometry problem, as i get it. And it halts booting.
> 
> Now. From Slackware site i read,

..this?:
https://docs.slackware.com/howtos:slackware_admin:installing_with_gpt_without_uefi

> that it is possible to install LiLo
> on a GPT-HDD, but is not specified how, and as i remember, even,
> without an additional "technical" partition.
> 
> So, how do i install LiLo so that it boots OS from the GPT-drive?

..https://duckduckgo.com/?q=Slackware+install+LiLo+on+a+GPT-HDD=web
came up with the above link and these:
https://www.linuxquestions.org/questions/slackware-14/slackware-uefi-lilo-4175656413/
https://www.linuxquestions.org/questions/slackware-14/slackware-uefi-lilo-4175656413/page2.html
https://linuxhint.com/install-slackware-linux/


..credible advice: Whenever a Slackware wizard recommends 
making a boot usb etc medium, act on that recommendation.
https://docs.slackware.com/slackware:install

..this pxe setup recipe wizard is neat:
https://docs.slackware.com/slackware:pxe_install


..3 Slackware install play lists that should get you started:
https://www.youtube.com/user/mikemurphycs/playlists


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Help to install LiLo to a GPT HDD.

2019-08-22 Thread Edward Bartolo via Dng
As far as I remember, you have to make sure the bootloader's kernel is
at a sector that LILO can access. GPT is too new for LILO. You also
have to provide space where the bootloader saves its second stage,
always if my assumption that it uses the same mechanism used by legacy
GRUB, is correct.

So, according to me, you should leave the very first partition next to
the initial GPT headers free and unformatted. Use a very small
partition space.

All this if from memory which often is wrong with the passage of so
many years since I last used LILO and installed GRUB. GRUB works on
GPT formatted disks under a UEFI system.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Help to install LiLo to a GPT HDD.

2019-08-22 Thread Андрей via Dng
Приветствую.


Please help to install LiLo to a GPT HDD.

Situation: I move installed OS from one drive (DOS partition scheme)
to another (3 TB, GPT partition scheme). The motherboard is old: BIOS,
Athlon 3000+. I have created single 2.7 TiB partition on which did
place the installed OS. Did mount to it /proc, /dev, /sys.
Changed /etc/lilo.conf with boot and root parameters according
to the new drieve IDs. ChRooted to it, typed lilo. LiLo gave only one
warning, that the drive is not the first one.

Result: BIOS tells me that the drive capasity is 801 GB instead of
3000. Well, for working as non bootable drive it worked alright.
But booting from the new drive gives me L 99 99 99 ... error. -- The
geometry problem, as i get it. And it halts booting.

Now. From Slackware site i read, that it is possible to install LiLo on
a GPT-HDD, but is not specified how, and as i remember, even, without
an additional "technical" partition.

So, how do i install LiLo so that it boots OS from the GPT-drive?


Андрей.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng