View previous topic :: View next topic |
Author |
Message |
kandalf Apprentice
Joined: 13 Nov 2003 Posts: 261
|
Posted: Sat Apr 16, 2005 6:32 pm Post subject: problema grub |
|
|
ma possibile che devo far partire gentoo dall'editor di grub all'avvio?
nn riesco proprio ad installarlo...ho fatto come dice il manuale.
Code: |
bash-2.05b# cp /proc/mounts /etc/mtab
bash-2.05b# grub-install --root-directory=/boot /dev/hda2
/sbin/grub-install: line 332: //sbin/grub: cannot execute binary file
sed: can't read /boot/boot/grub/device.map: No such file or directory
grep: /boot/boot/grub/device.map: No such file or directory
/dev/ide/host0/bus0/target0/lun0/part2 does not have any corresponding BIOS drive.
bash-2.05b# grub
bash: /sbin/grub: cannot execute binary file
bash-2.05b# grub-install --root-directory=/boot /dev/hda
/sbin/grub-install: line 332: //sbin/grub: cannot execute binary file
sed: can't read /boot/boot/grub/device.map: No such file or directory
grep: /boot/boot/grub/device.map: No such file or directory
/dev/ide/host0/bus0/target0/lun0/disc does not have any corresponding BIOS drive.
|
come è possibile?
da debian come chroot grub si esegue...ma n riesco a installarlo lo stesso |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30965 Location: here
|
Posted: Sat Apr 16, 2005 7:03 pm Post subject: |
|
|
Monta la /boot posta un
e posta anche un grub.conf _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
kandalf Apprentice
Joined: 13 Nov 2003 Posts: 261
|
Posted: Sat Apr 16, 2005 7:17 pm Post subject: |
|
|
Code: | bash-2.05b# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 54G 3.3G 51G 7% /
/dev/root 54G 3.3G 51G 7% /
none 501M 0 501M 0% /dev/shm
/dev/hda2 102M 40M 63M 39% /boot |
Code: |
title=Gentoo
root (hd0,1)
kernel /vmlinuz-2.6.12-rc2 root=/dev/hda6
savedefault
boot |
Edit gutter: Usiamo i bbcode |
|
Back to top |
|
|
kandalf Apprentice
Joined: 13 Nov 2003 Posts: 261
|
Posted: Sun Apr 17, 2005 8:49 am Post subject: |
|
|
Code: | # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot reiserfs noauto,noatime,notail 1 1
/dev/hda6 / reiserfs noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
|
i posto pure il mio fstab...ho messo bene i parametri nella /boot?
essendo una reiser ho paura di aver fatto casini. |
|
Back to top |
|
|
Little Cash Tux's lil' helper
Joined: 04 Dec 2003 Posts: 131 Location: Cosenza, Italia
|
Posted: Sun Apr 17, 2005 5:08 pm Post subject: |
|
|
Ciao, perche' non provi ad installarlo da GRUB stesso?
Code: | root (hd0,1)
setup (hd0)
|
Ovviamente sostituisci con le tue preferenze i dati _________________ D: Perche' usi linux?
R: Perche' mi piace dover riavviare solo per un kernel upgrade
- badguy@IRCNet - |
|
Back to top |
|
|
kandalf Apprentice
Joined: 13 Nov 2003 Posts: 261
|
Posted: Sun Apr 17, 2005 6:04 pm Post subject: |
|
|
se potessi farlo lo farei
bash-2.05b# grub
bash: /sbin/grub: cannot execute binary file |
|
Back to top |
|
|
|