Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
frage zu /boot [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Wed Mar 18, 2009 5:01 pm    Post subject: frage zu /boot [solved] Reply with quote

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.
Code:
ls /boot

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
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Wed Mar 18, 2009 8:29 pm    Post subject: Reply with quote

???
Code:
rm /boot/gentoo-2.6.23* rm /boot/gentoo-2.6.24*
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2272
Location: My own world! I and Gentoo!

PostPosted: Wed Mar 18, 2009 8:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
hitachi
Guru
Guru


Joined: 20 Feb 2006
Posts: 478
Location: Freiburg / Deutschland

PostPosted: Wed Mar 18, 2009 10:33 pm    Post subject: Gelöst /boot Reply with quote

Danke. Ich war mir eigentlich nur wegen dem symbolischen Link unsicher. Hat alles funktioniert.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Fri Mar 20, 2009 4:52 pm    Post subject: Reply with quote

Ohne den symlink hatte ich vor Jahren mal boot-probleme. Deshalb lasse ich den.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum