I'm not sure, but normally you only use /dev/hdxN to mount a device, and every other issue is done to the mountpoint - perhaps /mnt/hda1
and yes, it's hda1, not hda to use.
I've installed knx 3.4 in a IBM netvista miditower.
No problem till the end, but the bootloader didn't work!
So I restart with the CD and pass this commands:
sudo mount -o remount,rw /dev/hda1
trying to make hda1 readable and writable. Then:
sudo grub-install /dev/hda
and it respond to me:
mkdir: impossibile creare la directory '/boot/grub': Read-only file system
So i pass the following:
# mount /dev/hda1 /mnt/hda1
# chroot /mnt/hda1 /bin/bash
# source /etc/profile
grub-install /dev/hda
or
grub-install /dev/hda1
Response:
Could not find device for /boot: Not found or not a block device
![]()
How can i install grub??
I'm not sure, but normally you only use /dev/hdxN to mount a device, and every other issue is done to the mountpoint - perhaps /mnt/hda1
and yes, it's hda1, not hda to use.
Easy.Originally Posted by mschievano
You need to mount your root partition
mount /dev/hda1 /mnt/hda1
NO CHROOT REQUIRED
grub-install /dev/hda --root-directory=/mnt/hda1
update-grub
voila!
Samsung 16GB 1Rx8 DDR5 5600MHz EC8 RDIMM PC5-44800 Memory RAM (M321R2GA3PB0-CWM)
$99.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$22.45
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
SAMSUNG 4Gb 2Rx8 DDR3 PC3-10600S LAPTOP SODIMM RAM MEMORY M471B5273DH0-CH9
$5.99
Apple MacBook Air (2020) 13.3-inch, 1.1GHz, i5, 8GB RAM, 512GB SSD, Space Gray
$419.00
HP EliteBook 840 G10 14 WUXGA Intel Core i5-1335U 16GB RAM 512GB SSD Notebook S
$599.99