|
From: | tony vong |
Subject: | Someone please help! Trying to make a 8M flash card bootable using grub by got this error. |
Date: | Sun, 8 Jun 2008 18:08:09 -0700 (PDT) |
First, I mkfs the flashcard. address@hidden ~]# mkfs /dev/sda1 -t ext3 mke2fs 1.35 (28-Feb-2004) max_blocks 8011776, rsv_groups = 978, rsv_gdb = 30 Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 1960 inodes, 7824 blocks 391 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=8126464 1 block group 8192 blocks per group, 8192 fragments per group 1960 inodes per group Writing inode tables: done inode.i_blocks = 62, i_size = 67383296 Creating journal (1024 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 35 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. address@hidden ~]# Second, I mounted /dev/sda1 to /mnt/flash address@hidden ~]# mount | grep sda /dev/sda1 on /mnt/flash type ext3 (rw) address@hidden ~]# Third, I copied over the stage files address@hidden ~]# mkdir /mnt/flash/grub address@hidden ~]# cp /boot/grub/stage* /boot/grub/e2fs_stage1_5 /mnt/flash/grub/ address@hidden ~]# Fourth, I install grub, but I got stuck at "root(hd0,0)". Can anyone help ? grub> device (hd0) /dev/sda grub> root (hd0,0) Filesystem type unknown, partition type 0x1 grub> geometry (hd0) drive 0x80: C/H/S = 246/2/32, The number of sectors = 15744, /dev/sda Partition num: 0, Filesystem type unknown, partition type 0x1 grub> |
[Prev in Thread] | Current Thread | [Next in Thread] |