View previous topic :: View next topic |
Author |
Message |
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 8:09 am Post subject: [Gelöst]Mount-Problem beim installieren von grub |
|
|
Hallo,
Die installation von gentoo nach dem handbuch hat bis jetzt aufs wunderbarste geklappt, allerdings will emerge grub nicht so wie ich:
Code: | >>> Merging sys-boot/grub-0.97-r3 to /
*
* Cannot automatically mount your /boot partition.
* Your boot partition has to be mounted rw before the installation
* can continue. grub needs to install important files there.
*
!!! Error: sys-boot/grub-0.97-r3 failed.
Call strack:
ebuild.sh, line 1555: Called dyn_preinst
ebuild.sh, line 1031: Called pkg_preinst
ebuild.sh, line 1248: Called mount-boot_pkg_preinst
mount-boot.ecass, line 64: Called mount-boot_mount_boot_partition
mount-boot.ecass, line 54: Called die
!!! please mount your /boot partition manually!
!!! if you need support, post the topmost build error, and the call strack if relevant.
!!! FAILED preinst: 1 |
bei mount /boot kam allerdings das raus:
Quote: | mount: /dev/hda2 already mounted or /boot busy
mount: according to mstab, /dev/hda2 is mounted on newroot/mnt/gentoo/boot |
Nach dem start des systems hab ich boot, root und proc gemounted ("mount -o bind /dev /mnt/gentoo/dev" hab ich auch gemacht, jedoch wurd beim wiederholden des mounten kein error angezeigt, weshalb ich davon ausgehe, das das ding nicht gemountet wurde...), bin dann in die chroot umgebung und hab es versucht. das meine fstab richtig ist, bin ich mir auch ziemlich sicher...
falls gebraucht: meine Kernelversion ist linux-2.6.19-gentoo-r5. Partitioniert hab ich wie folgt:
hda1: Windoof XP
hda2: boot
hda3: swap
hda4: root
Last edited by Vorkriegshippie on Thu Feb 15, 2007 3:10 pm; edited 1 time in total |
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Wed Feb 14, 2007 8:35 am Post subject: |
|
|
Quote: | das meine fstab richtig ist, bin ich mir auch ziemlich sicher. |
Na zeig sie doch mal. Interessant wäre auch die Ausgabe von:
"fdisk /dev/hda" und dann "p". (zeigt dann an wie Deine Platte formatiert ist) |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5232
|
Posted: Wed Feb 14, 2007 8:59 am Post subject: |
|
|
himpierre wrote: | Quote: | das meine fstab richtig ist, bin ich mir auch ziemlich sicher. |
Na zeig sie doch mal. Interessant wäre auch die Ausgabe von:
"fdisk /dev/hda" und dann "p". (zeigt dann an wie Deine Platte formatiert ist) |
das geht auch mit fdisk -l /dev/hda _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 12:06 pm Post subject: |
|
|
FDISK:
Code: | Device Boot Start End Blocks ID System
/dev/hda1 * 1 5779 46419786 7 HPFS/NTFS
/dev/hda2 5780 5792 104422+ 83 Linux
/dev/hda3 5793 5917 1004062+ 83 Linux
/dev/hda4 5918 9729 30619890 83 Linux |
FSTAB:
Code: | #<fs> <mpoint> <type> <opts> <d/p>
/dev/hda2 /boot ext2 defaults,noatime 1 2
/dev/hda4 / ext3 noatime 0 1
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 defaults,user 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hda1 /winxp HPFS/NTFS defaults 0 0 |
|
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Wed Feb 14, 2007 12:47 pm Post subject: |
|
|
Hm, sieht eigentlich alles richtig aus. Allerdings:
Quote: | mount: according to mstab, /dev/hda2 is mounted on newroot/mnt/gentoo/boot |
Das gibt mir schon zu denken. Da hat wohl die mtab nen Schlag bekommen. Weiss nich ob man die einfach so löschen kann. Ich würde die mal wegbewegen und neu booten. |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 2:00 pm Post subject: |
|
|
Yetzt hat das emerge grub geklappt, aber das "grub-install /dev/hda" macht probleme:
Code: | end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block0
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block0 |
das wird xmal wiederholt (Ich hab irgendwann abgebrochen), und ich glaub der will das auf meiner windoof partition installieren: Die oneklick wartung von Tuneup hat 17 MB freien platz, nach dem grub-install, geschaffen... |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5232
|
Posted: Wed Feb 14, 2007 2:06 pm Post subject: |
|
|
Vorkriegshippie wrote: | Yetzt hat das emerge grub geklappt, aber das "grub-install /dev/hda" macht probleme:
Code: | end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block0
end_request: I/O error, dev fd0, sector 0
Buffer I/O error on device fd0, logical block0 |
das wird xmal wiederholt (Ich hab irgendwann abgebrochen), und ich glaub der will das auf meiner windoof partition installieren: Die oneklick wartung von Tuneup hat 17 MB freien platz, nach dem grub-install, geschaffen... |
noe versucht es nicht, auser du hast windows auf eine diskette installiert denn fd0 ist das device für das 1. Diskettenlaufwerk im system.
eine Bemerkung aus dem gentoo handbuch bezüglich grub-install und einem nicht vorhandenem disketten laufwerk:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#grub-install-auto wrote: | Note: If your system does not have any floppy drives, add the --no-floppy option to the above command to prevent grub from probing the (non-existing) floppy drives. |
_________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 2:45 pm Post subject: |
|
|
bei "grub-install --no-floppy /dev/hda" kommt wieder der selbe fehler |
|
Back to top |
|
|
firefly Watchman
Joined: 31 Oct 2002 Posts: 5232
|
Posted: Wed Feb 14, 2007 2:59 pm Post subject: |
|
|
dann mach die installation von grub über die grub-shell. _________________ Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn. |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 4:17 pm Post subject: |
|
|
hat auch nicht geklappt (Error 15 file not found), hab es dann aber doch mit grub-install hinbekommen, nur läd er Linux nicht, irgendwas ist falsch:
Code: | root (hd0,1)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/linux-2.6.19-gentoo-r5 root=/dev/hda4
Error 15: File not found |
|
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Wed Feb 14, 2007 4:31 pm Post subject: |
|
|
http://linuxplanet.com/linuxplanet/tutorials/5361/3/ wrote: |
If there is no /boot directory, GRUB will tell you:
Error 15: File not found
So, just do it over:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /boot/vmlinuz
possible files are: vmlinuz vmlinuz-2.4.21
Type:
grub> kernel /boot/vmlinuz-2.4.21
grub> boot
and away you go. |
Quelle _________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera) |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 6:30 pm Post subject: |
|
|
Hat geklappt, vielen dank! |
|
Back to top |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Wed Feb 14, 2007 6:39 pm Post subject: |
|
|
Wenn deine Frage beantwortet wurde,editiere bitte Deinen ersten Post und ergänze den Titel um ein [solved] oder [gelöst].
Danke. _________________ Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera) |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Wed Feb 14, 2007 11:03 pm Post subject: |
|
|
Würd ich ja gerne, nur ist das problem jetzt doch nicht gelöst...
ich kann zwar, beim booten die Grub shell aufrufen, und mit "kernel /boot/linux-2.6.19-gentoo-r5" und "boot" dann in gentoo rein, jedoch währe mir das automatisch lieber. Weiterhin hab ich festgestellt, dass ich unter grub die "setup /dev/hda" doch ausführen kann, aber nur von meiner root partition und nicht von der /boot aus. Auch das erfolgreiche installieren auf die root ändert nichts am ergebnis, dass ich eben den "Error 15" bekomm...
Und internet wird ohne Live CD nicht automatisch erkannt, und die shells, von denen im handbuch gesprochen werden net-setup usw funktionieren bei mir nicht, jemand ne idee?
(Fragen über Frage)
HIPPIE |
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Thu Feb 15, 2007 8:50 am Post subject: |
|
|
Quote: | ich kann zwar, beim booten die Grub shell aufrufen, und mit "kernel /boot/linux-2.6.19-gentoo-r5" |
Und so steht das auch in Deiner grub.conf? Bei mir steht nämlich:
Code: | kernel (hd0,0)/boot/bzImage root=/dev/sda3 |
Quote: | Und internet wird ohne Live CD nicht automatisch erkannt, und die shells, von denen im handbuch gesprochen werden net-setup usw funktionieren bei mir nicht, jemand ne idee? |
Bitte mehr Info. Netzwerkarte? DHCP? WLAN, configs usw. usf.
t. |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Thu Feb 15, 2007 2:44 pm Post subject: |
|
|
hab jetzt lilo installiert und in grade mal 5 minuten zum laufen gebracht, gestern einen ganzen tag mit grub verschenkt... -.-
als Netztwerkkarte hab ich eine "Realtek RTL8139-Familie-PCI-Fast Ethernet-NIC" und außerdem einen "Fritz! Wlan" USB Stick. Netzwerkkarte würde mir aber erstmal reichen. Beim boot von gentoo wurd mir gesagt, das kein DHCP Klient gefunden werden konnte. Kann ich da einen mit emerge installieren?
meine net sieht so aus (wie aus dem handbuch):
conf_eth0=("dhcp")
dhcp_eth0="nodns nontp nonis"
gibt es bei gentoo nicht wie bei ubuntu (pppoe hieß das glaub ich) die möglichkeit alles mit einem script zu konfigurieren? |
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2246 Location: My own world! I and Gentoo!
|
Posted: Thu Feb 15, 2007 2:48 pm Post subject: |
|
|
das ist falsch dhcp ist der DHCPServer
da muss dhcpcd stehen, also bei mir steht:
Natürlich musst du auch net-misc/dhcpcd gemergt haben. _________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2) |
|
Back to top |
|
|
Vorkriegshippie n00b
Joined: 13 Feb 2007 Posts: 9 Location: Hamburg
|
Posted: Thu Feb 15, 2007 3:10 pm Post subject: |
|
|
habs jetzt mit
mit
config_eth0=("MeineIP netmask 255.255.255.0 brd 192.168.0.255")
routes_eth0=("default gw GatewayIP")
geschafft, Internet Läuft, Gentoo nach drei tagen fertig...
ENDLICH xD |
|
Back to top |
|
|
|