Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installation problem with grub-install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fagus
n00b
n00b


Joined: 27 Jan 2017
Posts: 5

PostPosted: Tue Jan 31, 2017 5:13 am    Post subject: installation problem with grub-install Reply with quote

Hello
I've been trying four times to install gentoo using the handbook. But each time when in the end I give the command grub-install /dev/sda, the installation keeps hanging.

I think maybe my problem is in the partitioning, but I find the handbook not so clear on this.

I use parted to partition my drive. I have no UEFI, so I think I don't have to set the boot option on my second partition.
But if I don't set the boot option, I get no boot flag when i print the partition table, whereas I should get "boot" in the "Flags"-field according to the handbook (see quote below).
The next time I set the boot option, (though not having UEFI), I get "boot, esp" in the "Flags"-field.

So my question is: can this be the cause of my unsuccesful attempts to install gentoo, and if yes: how can I get the boot flag in my partition-table?

I have a dell studio 1735 with an ata samsung ssd 750 (scsi) 250GB hardrive.

Thanks a lot!
fagus

Quote:
When using the UEFI interface to boot the system (instead of BIOS), mark the boot partition as the EFI System Partition. Parted does this automatically when the boot option is set on the partition:
(parted)set 2 boot on

The end result looks like so:
(parted)print

Model: Virtio Block Device (virtblk)
Disk /dev/sda: 20480MiB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 1.00MiB 3.00MiB 2.00MiB grub bios_grub
2 3.00MiB 131MiB 128MiB boot boot
3 131MiB 643MiB 512MiB swap
4 643MiB 20479MiB 19836MiB rootfs
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Tue Jan 31, 2017 10:24 am    Post subject: Reply with quote

Quote:
I have a dell studio 1735 with an ata samsung ssd 750 (scsi) 250GB hardrive.


http://accessories.us.dell.com/sna/PfydFeaturedCategoryResults.aspx?c=us&l=en&s=bsd&cs=04&mfgpid=197353

Sata not SCSI.

This hardware is similar to my previou ASUS g70sg notebook. core2duo with sata drives.

AFAIk there was never SCSI in notebooks.

--

Do not create spam post, stick to the other post you already created. its the same issue.

--

On my similar noteobook I used grub1, with the old "MSDOS" partition tables. I have no idea if grub2 + gpt works / is supported (you need to check the docs for grub2!).


--

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks

=> MBR

Why are you using gpt in the firstplace? on such a dated box?

Quote:
Default partitioning scheme

Throughout the remainder of the handbook, the following partitioning scheme will be used as a simple example layout:
Partition Filesystem Size Description
/dev/sda1 (bootloader) 2M BIOS boot partition
/dev/sda2 ext2 (or fat32 if UEFI is being used) 128M Boot/EFI system partition
/dev/sda3 (swap) 512M or higher Swap partition
/dev/sda4 ext4 Rest of the disk Root partition


I used a similar layout on my asus g70sg. works, proven!
Back to top
View user's profile Send private message
markisthejob
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2008
Posts: 142
Location: Cork, Republic of Ireland

PostPosted: Tue Jan 31, 2017 2:36 pm    Post subject: Reply with quote

If you are unsure about the use of parted to set up your partitions, it might be better to use the SystemRescueCd for the install and use gparted instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum