Re: Installation of debian/stretch 32-bit error
Hans composed on 2017-07-19 18:58 (UTC+0200):
>> The hdX naming scheme went away a long time ago - all normal disks
>> should be showing us as sdX whether they're connected via IDE (PATA),
>> SATA, SCSI or whatever.
>> Did the installer actually fail to install the bootloader? If so, what
>> errors did you get?
> The text gui offered me MBR, /dev/sda1 (mounted to /boot) and /dev/sda5
> (mounted to /), then I choose mbr and got a red screen, with the very useful
> information "The grub bootloader could not be installed".
On an old PATA disk, as you call IDE or hda, the partitioning scheme is very
likely the cause of the failure to install to sda, as such schemes can more
frequently than we'd like provide insufficient room on the boot track to fit
Grub2's bloated loader code. Among such schemes, the one producing the largest
boot track space via 255 head and 63 sector "cylinders", a bit over 30kb, is not
always adequate. 240/63, another very common configuration, mostly used by
laptops and Compaq desktops, obviously provides even less.
> But besides, as now is only /dev/sda, and /dev/hda is no more used, we shoud
> close this issue. No one (except me) will install debian 9 on an IDE drive
> nowadays!
Not true. I have several Stretch installations on PATA disks. It is only the
/dev/hdX nomenclature that went away many moons ago.
> I wanted just to know, if this is a bug with the "false" naming or unknown.
The kernel has been using /dev/sdX for /all/ ATA devices for at least the past 8
years, maybe more than 10 by now.
> Now we know, this is wanted to, so no need to think over again.
If losing data is not a problem for you, the PATA disk, just like any SATA disk,
can be repartitioned with large (1MB) unpartitioned space at start of disk so
that Grub2 can fit into the boot track.
Alternatively, install bootloader into a primary partition, set that partition
active/bootable, and use standard MBR code.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
Reply to: