Not knowing what the preferred size should be for a GRUB /boot
partition, I decided to let Guided Partioning use its defaults for
/dev/sda. As I recall, the partitioner warned that the number of
cylinders on the disk exceeded the maximum of 65536, but the creation of filesystems and the rest of the installation proceeded anyway, without
any other noticeable errors.
The layout for /dev/sda is as follows:
# fdisk -l /dev/sda
Disk /dev/sda: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: ST3146807LC
Geometry: 255 heads, 2 sectors/track, 37965 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun
Device Start End Sectors Size Id Type Flags /dev/sda1 0 1000109 1000110 488.3M 1 Boot
/dev/sda2 1000110 284748299 283748190 135.3G 83 Linux native
/dev/sda3 0 286749029 286749030 136.7G 5 Whole disk
/dev/sda4 284748300 286749029 2000730 976.9M 82 Linux swap
Question 1: If I don't plan to install Solaris, is it safe to removethe "Whole disk" partition (/dev/sda3)?
Question 2: What is the best size for /boot (/dev/sda1)? Afterinstallation, the /boot partition had only about 57 MB of files.
After installation, at every boot, I see this:
-----
GRUB Loading kernel....
Welcome to GRUB!
error: out of memory.
error: no suitable video mode found.
error: no video mode activated.
-----
Then the GRUB menu is displayed, and I am able to scroll through the
options using the "v" and "^" keys (but not the up and down arrow keys).
After selecting the new Debian SID (or allowing it to be selected by default), the X login eventually comes up, but it seems to be off the
screen. If I login anyway, the Xfce desktop comes up, but it seems to be larger than the screen. This problem, which is similar to a problem I
had with Debian 7.8, can probably be fixed with an appropriate xorg.conf file.
But UUID=052feb55-ef72-4a8a-8f6d-2d63390e76ff doesn't exist.
So this line:
linux /boot/vmlinux-5.14.0-1-sparc64 root=UUID=052feb55-ef72-4a8a-8f6d-2d63390e76ff ro quiet
should be:
linux /boot/vmlinux-5.14.0-1-sparc64 root=UUID=1ca6137b-dcb8-4e76-b3c5-794d453723ca ro quiet
as shown by blkid:
# blkid /dev/sdb1
/dev/sdb1: UUID="1ca6137b-dcb8-4e76-b3c5-794d453723ca" BLOCK_SIZE="4096" TYPE="ext3" PTTYPE="sun"
After making that change, I'm able to boot into my backup Debian SID installation.
So my choices at this point are to return to SILO or follow through with
a bug report for GRUB (I would need help submitting upstream bug reports
for GRUB).
Question 3: If I return to SILO, is there anything special about/dev/sda1 other than it needing to be ext2? For example, are there any special flags or other attributes needed for that partition? Is
/dev/sda1 also ext2 when using GRUB or can it be ext3 or ext4?
The layout for /dev/sda is as follows:
# fdisk -l /dev/sda
Disk /dev/sda: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: ST3146807LC
Geometry: 255 heads, 2 sectors/track, 37965 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun
Device Start End Sectors Size Id Type Flags
/dev/sda1 0 1000109 1000110 488.3M 1 Boot
/dev/sda2 1000110 284748299 283748190 135.3G 83 Linux native
/dev/sda3 0 286749029 286749030 136.7G 5 Whole disk
/dev/sda4 284748300 286749029 2000730 976.9M 82 Linux swap
this is a sun disk partitioning scheme - not shure, if this is well supported with grub.
Question 2: What is the best size for /boot (/dev/sda1)? Afterinstallation, the /boot partition had only about 57 MB of files.
What's on this partition? Only Grub files or also the kernel stuff?
AFAIR I used around 100-200MB years ago, but this was with SILO.
Not knowing what the preferred size should be for a GRUB /boot
partition, I decided to let Guided Partioning use its defaults for
/dev/sda. As I recall, the partitioner warned that the number of
cylinders on the disk exceeded the maximum of 65536, but the creation of filesystems and the rest of the installation proceeded anyway, without
any other noticeable errors.
The layout for /dev/sda is as follows:
# fdisk -l /dev/sda
Disk /dev/sda: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: ST3146807LC
Geometry: 255 heads, 2 sectors/track, 37965 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun
Device Start End Sectors Size Id Type Flags /dev/sda1 0 1000109 1000110 488.3M 1 Boot
/dev/sda2 1000110 284748299 283748190 135.3G 83 Linux native
/dev/sda3 0 286749029 286749030 136.7G 5 Whole disk
/dev/sda4 284748300 286749029 2000730 976.9M 82 Linux swap
Question 1: If I don't plan to install Solaris, is it safe to removethe "Whole disk" partition (/dev/sda3)?
Question 2: What is the best size for /boot (/dev/sda1)? Afterinstallation, the /boot partition had only about 57 MB of files.
Then the GRUB menu is displayed, and I am able to scroll through the
options using the "v" and "^" keys (but not the up and down arrow keys). After selecting the new Debian SID (or allowing it to be selected by default), the X login eventually comes up, but it seems to be off the
screen. If I login anyway, the Xfce desktop comes up, but it seems to be larger than the screen. This problem, which is similar to a problem I
had with Debian 7.8, can probably be fixed with an appropriate xorg.conf file.
Hi Stan,
On Sat, Sep 25, 2021 at 11:34:59PM -0600, Stan Johnson wrote:
Not knowing what the preferred size should be for a GRUB /boot
partition, I decided to let Guided Partioning use its defaults for
/dev/sda. As I recall, the partitioner warned that the number of
cylinders on the disk exceeded the maximum of 65536, but the creation of
filesystems and the rest of the installation proceeded anyway, without
any other noticeable errors.
The layout for /dev/sda is as follows:
# fdisk -l /dev/sda
Disk /dev/sda: 136.73 GiB, 146815737856 bytes, 286749488 sectors
Disk model: ST3146807LC
Geometry: 255 heads, 2 sectors/track, 37965 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun
Device Start End Sectors Size Id Type Flags
/dev/sda1 0 1000109 1000110 488.3M 1 Boot
/dev/sda2 1000110 284748299 283748190 135.3G 83 Linux native
/dev/sda3 0 286749029 286749030 136.7G 5 Whole disk
/dev/sda4 284748300 286749029 2000730 976.9M 82 Linux swap
this is a sun disk partitioning scheme - not shure, if this is well supported with grub.
Question 1: If I don't plan to install Solaris, is it safe to removethe "Whole disk" partition (/dev/sda3)?
AFAIR sun disklabels allows up to 8 entries - so there is no advantage in removing the solaris standard whole disk entry.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 71:19:07 |
Calls: | 6,656 |
Calls today: | 2 |
Files: | 12,201 |
Messages: | 5,332,223 |
Posted today: | 1 |