View previous topic :: View next topic |
Author |
Message |
hitachi Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Wed Mar 18, 2009 5:01 pm Post subject: frage zu /boot [solved] |
|
|
Hallo,
der Fehler sitzt vor dem Computer. Mir ist gerade aufgefallen, dass ich wohl mal (bei dem wiederherstellen einer Sicherung?) den Ordner /boot mit Inhalt gefüllt habe, ohne das die Bootpartition (in meinem Fall /dev/md1) gemountet war.
Quote: | boot gentoo-2.6.23-r9 gentoo-2.6.24-r4.config.neu gentoo-2.6.24-r8.config lost+found
gentoo-2.6.22-r5 gentoo-2.6.24-r4 gentoo-2.6.24-r4.config.neu2 gentoo-2.6.24-r8.config_080610 memtest86plus
gentoo-2.6.23-r8 gentoo-2.6.24-r4.config gentoo-2.6.24-r8 grub |
Wie kann ich das am sichersten löschen? Ich nutze inzwischen 2.6.27-r8 welches auch aud der /dev/md1 liegt.
Danke für die Hilfe
Last edited by hitachi on Wed Mar 18, 2009 10:33 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flammenflitzer Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/409843123410eaf2de9947.gif)
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Wed Mar 18, 2009 8:29 pm Post subject: |
|
|
??? Code: | rm /boot/gentoo-2.6.23* rm /boot/gentoo-2.6.24* |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Max Steel Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/14981993534abd00719e921.png)
Joined: 12 Feb 2007 Posts: 2272 Location: My own world! I and Gentoo!
|
Posted: Wed Mar 18, 2009 8:29 pm Post subject: |
|
|
Die Bootpartition aushängen und dann einfach rm -r /boot/*
und danach wieder einhängen, dann sind die Dateien ganz einfach weg, oder aber du möchtest sie auf die boot-Partition übertragen.
Das wäre dann:
Code: | umount /boot && mkdir /mnt/1 && mount /dev/md1 /mnt/1
cp -r /boot/* /mnt/1/
rm -r /boot/*
umount /mnt/1 && rmdir /mnt/1 && mount /boot |
_________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
hitachi Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Feb 2006 Posts: 478 Location: Freiburg / Deutschland
|
Posted: Wed Mar 18, 2009 10:33 pm Post subject: Gelöst /boot |
|
|
Danke. Ich war mir eigentlich nur wegen dem symbolischen Link unsicher. Hat alles funktioniert. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
flammenflitzer Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/409843123410eaf2de9947.gif)
Joined: 25 Nov 2003 Posts: 3541 Location: Berlin
|
Posted: Fri Mar 20, 2009 4:52 pm Post subject: |
|
|
Ohne den symlink hatte ich vor Jahren mal boot-probleme. Deshalb lasse ich den. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|