Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: ost on September 30, 2011, 05:47:48 AM
-
I do the following:
fdisk /dev/sda
o (clear partition table)
n (new partition)
p (primary)
1 (partition number)
[enter] (default start)
[enter] (default end)
w (save and quit)
sudo poweroff
(wait for system to come up again)
mkfs.ext4 /dev/sda1
grub-install /dev/sda1
(long break observed)
Now, I get the following error:
/usr/local/sbin/grub-probe: error: cannot stat 'rootfs'
I've scratched my head a few times on this, and google doesnt seem to help.
Any thoughts? I guess I dont have to install a OS on it before grub installs?
Is this a grub2 vs microcore-4.0 issue, or just specific to my system?
-
Out of curiosity, I tried grub-install on tinycore-3.8.4 too with the same result..
Also using ext2..
-
Hi: I thougt GRUB2 needs ext4 and does not work on ext3 and ext2
-
Hi: I thougt GRUB2 needs ext4 and does not work on ext3 and ext2
Your're right it doesnt seem to support ext2.. But ext3 or ext4..
I find the documentation a bit weak..
-
Looks like grub2 doesn't support the scenario of initramfs properly. Please report the bug upstream.
Perhaps you can work around it with a manual device map. Other boot loaders seem to work too (syslinux family, grub1).
-
Looks like grub2 doesn't support the scenario of initramfs properly. Please report the bug upstream.
Perhaps you can work around it with a manual device map. Other boot loaders seem to work too (syslinux family, grub1).
In fact I got it to pass now.. Its just the error messages that are not giving good information. This works:
mount /dev/sda1
grub-install --no-floppy --root-directory=/mnt/sda1 /dev/sda
-
Grub4Dos works like a charm.. which I believe is an option
just saying is all... :)