LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2021, 10:09 PM   #1
nirvaanr
LQ Newbie
 
Registered: Jun 2016
Distribution: Debian 10
Posts: 26

Rep: Reputation: Disabled
pls suggest which device to select for grub-pc


Hi

On my Debian 10 Server, when I ran "apt -y install gnupg2 software-properties-common" it popped-up a menu with "congiruing grub-pc" asking where to install Grub. I have no idea if it's MBR or /boot and also I have RAID-0 of 4 disks.

Pls see https://i.snipboard.io/GhQW4P.jpg

Code:
$  cat /proc/mdstat
Personalities : [raid1] [raid0] [linear] [multipath] [raid6] [raid5] [raid4] [raid10]
md125 : active raid0 sdd4[3] sdc4[2] sdb4[1] sda4[0]
      4186112 blocks super 1.2 512k chunks

md126 : active raid1 sdd3[3] sdc3[2] sdb3[1] sda3[0]
      4189184 blocks super 1.2 [4/4] [UUUU]

md127 : active raid0 sdd5[3] sdc5[2] sda5[0] sdb5[1]
      31230402560 blocks super 1.2 512k chunks

md2 : active raid1 sdb2[1] sdd2[3] sdc2[2] sda2[0]
      1048512 blocks [4/4] [UUUU]

unused devices: <none>
$
$
Code:
$   df -Ph
Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  153M  1.5G  10% /run
/dev/md127       29T   12T   18T  40% /
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/md125      3.9G   18M  3.7G   1% /tmp
/dev/md2       1008M   91M  867M  10% /boot
tmpfs           1.6G     0  1.6G   0% /run/user/1000
$
Code:
$  [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
BIOS
$
Pls advise which devices i need to select for grub install, thanks!

Last edited by nirvaanr; 02-12-2021 at 10:41 PM.
 
Old 02-13-2021, 12:07 AM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by nirvaanr View Post
... also I have RAID-0 of 4 disks.

Pls see https://i.snipboard.io/GhQW4P.jpg

Code:
$  cat /proc/mdstat
Personalities : [raid1] [raid0] [linear] [multipath] [raid6] [raid5] [raid4] [raid10]
md125 : active raid0 sdd4[3] sdc4[2] sdb4[1] sda4[0]
      4186112 blocks super 1.2 512k chunks

md126 : active raid1 sdd3[3] sdc3[2] sdb3[1] sda3[0]
      4189184 blocks super 1.2 [4/4] [UUUU]

md127 : active raid0 sdd5[3] sdc5[2] sda5[0] sdb5[1]
      31230402560 blocks super 1.2 512k chunks

md2 : active raid1 sdb2[1] sdd2[3] sdc2[2] sda2[0]
      1048512 blocks [4/4] [UUUU]

unused devices: <none>
$
$
Code:
$   df -Ph
Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  153M  1.5G  10% /run
/dev/md127       29T   12T   18T  40% /
tmpfs           7.9G     0  7.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/md125      3.9G   18M  3.7G   1% /tmp
/dev/md2       1008M   91M  867M  10% /boot
tmpfs           1.6G     0  1.6G   0% /run/user/1000
$
The grub error messages seems to indicate that you've made changes to the boot configuration. Can you elaborate on what changes have been made?

Q: Why put almost everything on a RAID0 device as opposed to a RAID5? (Or a RAID1+0?) With a RAID0 the system (well, "/" and "/tmp") will be a total loss of data should a single disk suffer a failure. Plus, many would consider a 1T boot partition overkill.
 
Old 02-13-2021, 01:13 AM   #3
nirvaanr
LQ Newbie
 
Registered: Jun 2016
Distribution: Debian 10
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rnturn View Post
The grub error messages seems to indicate that you've made changes to the boot configuration. Can you elaborate on what changes have been made?
AFAIK I didn't do anything else other than trying to install those couple software packages. I just need to select correct partition/MBR. Is there any command to know where GRUB is installed on a machine? MBR/sda/md127.

Quote:
Originally Posted by rnturn View Post
Q: Why put almost everything on a RAID0 device as opposed to a RAID5? (Or a RAID1+0?) With a RAID0 the system (well, "/" and "/tmp") will be a total loss of data should a single disk suffer a failure. Plus, many would consider a 1T boot partition overkill.
Because there's no useful data on it but we need highest possible I/O speed.

/boot is 1GB (1008M) not 1TB.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want to make my pc linux server by which other windows machine can acess through telnet. pls suggest me step by step acomputertech007 Linux - Newbie 4 07-19-2016 06:48 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: “I’d suggest Linux - but..” - I’d suggest you get a clue, but.. LXer Syndicated Linux News 0 12-10-2007 01:50 PM
web-based email client (pls suggest) carboncopy Linux - Software 2 09-07-2004 01:37 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration