Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[Solved]Problem with grub, "/boot/grub/stage1" exists... no"

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
beba
n00b
n00b
Posts: 19
Joined: Wed Jul 23, 2008 3:43 pm
Location: Belarus

[Solved]Problem with grub, "/boot/grub/stage1" exi

  • Quote

Post by beba » Thu Oct 13, 2011 12:51 pm

Hi..
Sorry for my English..

I have some problem with grub..

First about system..
2 HDD

Code: Select all

/dev/sda1   *        2048      264191      131072   fd  Linux raid autodetect
/dev/sda2          264192     8652799     4194304   82  Linux swap / Solaris
/dev/sda3         8652800   976773167   484060184   fd  Linux raid autodetect
/dev/sdb1   *        2048      264191      131072   fd  Linux raid autodetect
/dev/sdb2          264192     8652799     4194304   82  Linux swap / Solaris
/dev/sdb3         8652800   976773167   484060184   fd  Linux raid autodetect
2 RAID 1 was created by mdadm

Code: Select all

modprobe raid1
mknod /dev/md1 b 9 1
mknod /dev/md3 b 9 3
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
When I try setup grub I have error..

Code: Select all

grub> geometry (hd0,0)
drive 0x80: C/H/S = 60801/255/63, The number of sectors = 976773168, /dev/sda
   Partition num: 0,  Filesystem type is ext2fs, partition type 0xfd
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 2,  Filesystem type is ext2fs, partition type 0xfd

grub> geometry (hd1,0)
drive 0x81: C/H/S = 60801/255/63, The number of sectors = 976773168, /dev/sdb
   Partition num: 0,  Filesystem type is ext2fs, partition type 0xfd
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 2,  Filesystem type is ext2fs, partition type 0xfd

grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd0,0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 2: Bad file or directory type
grub> find (stage1)

Error 15: File not found
But file exists.

Code: Select all

(chroot) livecd linux # ls -al /boot/
total 3924
drwxr-xr-x  4 root root    1024 Oct 13 13:03 .
drwxr-xr-x 21 root root    4096 Oct  6 10:24 ..
-rw-r--r--  1 root root       0 Oct  6 07:13 .keep
lrwxrwxrwx  1 root root       1 Oct 13 13:03 boot -> .
drwxr-xr-x  2 root root    1024 Oct 13 13:03 grub
-rw-r--r--  1 root root 3981392 Oct 13 12:46 kernel-2.6.39-gentoo-r3
drwx------  2 root root   12288 Oct 13  2011 lost+found
(chroot) livecd linux # ls -al /boot/grub/
total 331
drwxr-xr-x 2 root root   1024 Oct 13 13:03 .
drwxr-xr-x 4 root root   1024 Oct 13 13:03 ..
-rw-r--r-- 1 root root    197 Oct 13 13:03 default
-rw-r--r-- 1 root root   8604 Oct 13 13:03 e2fs_stage1_5
-rw-r--r-- 1 root root   7904 Oct 13 13:03 fat_stage1_5
-rw-r--r-- 1 root root   7152 Oct 13 13:03 ffs_stage1_5
-rw-r--r-- 1 root root    642 Oct 13 13:04 grub.conf
-rw-r--r-- 1 root root   7168 Oct 13 13:03 iso9660_stage1_5
-rw-r--r-- 1 root root   8604 Oct 13 13:03 jfs_stage1_5
lrwxrwxrwx 1 root root      9 Oct 13 13:03 menu.lst -> grub.conf
-rw-r--r-- 1 root root   7320 Oct 13 13:03 minix_stage1_5
-rw-r--r-- 1 root root   9548 Oct 13 13:03 reiserfs_stage1_5
-rw-r--r-- 1 root root  33856 Oct 13 13:03 splash.xpm.gz
-rw-r--r-- 1 root root    512 Oct 13 13:03 stage1
-rw-r--r-- 1 root root 104584 Oct 13 13:03 stage2
-rw-r--r-- 1 root root 104584 Oct 13 13:03 stage2_eltorito
-rw-r--r-- 1 root root   7420 Oct 13 13:03 ufs2_stage1_5
-rw-r--r-- 1 root root   6784 Oct 13 13:03 vstafs_stage1_5
-rw-r--r-- 1 root root   9236 Oct 13 13:03 xfs_stage1_5
Maybe any have ideas? thanks
Last edited by beba on Thu Oct 13, 2011 1:55 pm, edited 1 time in total.
Top
beba
n00b
n00b
Posts: 19
Joined: Wed Jul 23, 2008 3:43 pm
Location: Belarus

  • Quote

Post by beba » Thu Oct 13, 2011 1:38 pm

Try install grub more..

Code: Select all

(chroot) livecd / # grub-install --recheck /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
(chroot) livecd / # grub-install --recheck /dev/md1
Probing devices to guess BIOS drives. This may take a long time.
/dev/md1 does not have any corresponding BIOS drive.
Hm.. Not installed :(
Top
beba
n00b
n00b
Posts: 19
Joined: Wed Jul 23, 2008 3:43 pm
Location: Belarus

  • Quote

Post by beba » Thu Oct 13, 2011 1:57 pm

solve the problem is create raid1 with metadata = 0.90

Code: Select all

 mdadm --create /dev/md1 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1 /dev/sdb1
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic