Results 1 to 5 of 5
hello,
I created an ext2 partition with linux just to install grub files and kernel but unfortunately I can not patch the hard disk with grub.
'root' command work perfectly: ...
- 11-10-2010 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 5
GRUB 0.97 -- how to make good ext2 partition
hello,
I created an ext2 partition with linux just to install grub files and kernel but unfortunately I can not patch the hard disk with grub.
'root' command work perfectly: root (hd0,0)
But 'setup' command failed: setup (hd0)
'find' command failed: find /boot/grub/stage1
All structures and files are right. The problem comes from how I made the partition. Linux can see the partition, all seems work fine but grub can not see it.
Could someone tell me what was wrong when I make my partition under linux ?
Did I forget something ?
When I use Partition Magic to build and ext2 partition, then grub works fine.
It is very curious, why a third partition tool works well than those provided by linux. I dont want to use Partition Magic for long time because it will not longer be available it was just for testing.
After making the partition Linux 0x83, I made the file system:
mke2fs -t ext2 /dev/hda1
I tried old and the newest Slackware distribution but no change.
Thanks.
(sorry for the bad english)
- 11-11-2010 #2Just Joined!
- Join Date
- Aug 2008
- Posts
- 7
Grub problem
Did you mount the disk before you ran grub ??
Peter
- 11-11-2010 #3
Could you please provide the exact command you are using to install GRUB on your hard disk?
You may find this useful: Grub setup problem (/boot/grub/stage1 not found)
- 11-12-2010 #4Just Joined!
- Join Date
- Jan 2009
- Posts
- 5
> pdk
No I didnt
>unlimitedscolobb
I wrote:
'root' command work perfectly: root (hd0,0)
But 'setup' command failed: setup (hd0)
'find' command failed: find /boot/grub/stage1
/boot contains kernels, System.map
/boot/grub contains all grub images (menu.lst, stage1, stage2, ...)
I think the problem comes from the method of formating the partition.
Last time I created the partition from fdisk provided by linux BUT BUT format was made using Partition Magic. This time I did not use mke2fs. After that, all works fine !!
Partition is good but something goes wrong with linux when creating the ext2 filesystem with mke2fs.
If sone can give me the right paramaters for mke2fs.
- 11-21-2010 #5
I suggest that you download and use Parted Magic to install Grub......it is much easier. It also has GParted on it which you can use to create linux partitions graphically.
You can get it from here
Cheers!
etech97


Reply With Quote

