Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot/boot/boot/boot/boot/....
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
Slalomsk8er
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 228
Location: Münchenstein, Switzerland

PostPosted: Thu Jun 02, 2005 2:04 pm    Post subject: /boot/boot/boot/boot/boot/.... Reply with quote

Ich installiere gerade Gentoo von meinem Ubuntu auf die andere Platte im Puter.
Nach "tar -xvjpf /......./Downloads/stage3-athlon-xp-2005.0.tar.bz2" habe ich boot nach boot nach boot in boot :?: :!:

Kann ich die überflüssigen boots löschen oder haben die einen Sinn?


Sonnige Grüsse

Slalomsk8er
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Thu Jun 02, 2005 2:07 pm    Post subject: Reply with quote

"/boot/boot" ist ein Link auf ".", daher wohl der Verwirrung.

Code:
lrwxrwxrwx   1 root root    1  5. Mär 12:09 boot -> .

_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
flash49
Apprentice
Apprentice


Joined: 12 Feb 2005
Posts: 233

PostPosted: Thu Jun 02, 2005 2:11 pm    Post subject: Reply with quote

unter /boot gibt es einen symlink:
Code:
lrwxrwxrwx  1 root root        1 Nov 21  2004 boot -> .

Das sollte auch wirklich ein symlink sein! Beim kopieren muß der als echter Simlink kopiert werden: "cp -d ..." (oder "cp -a" was cp -dpPR entspricht).
Back to top
View user's profile Send private message
moe
Veteran
Veteran


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Thu Jun 02, 2005 2:19 pm    Post subject: Reply with quote

Und noch die Begründung dazu:

Angenommen /boot ist wie empfohlen eine separate Partition, dann sind im "Normalbetrieb" mit gemounteter boot-Partition die Dateien die grub braucht um den Bootsektor zu installieren unter /boot/grub/* zu erreichen. Wenn grub bootet, greift er allerdings auf die Partition direkt zu, also sind die Dateien dann unter /grub/*, und damit er sie trotzdem unter /boot/grub/* findet, der Symlink boot -> .

HTH Maurice
Back to top
View user's profile Send private message
Slalomsk8er
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 228
Location: Münchenstein, Switzerland

PostPosted: Thu Jun 02, 2005 2:31 pm    Post subject: Reply with quote

Danke für die hilfe.
Dachte ich doch, dass die boots nicht einfach so für nichts da sind ;)

Eine Frage noch, wie kommt ihr auf:
lrwxrwxrwx 1 root root 1 Nov 21 2004 boot -> .
:?:


Sonnige Grüsse

Slalomsk8er
Back to top
View user's profile Send private message
sokar2000
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 137
Location: Zu Hause

PostPosted: Thu Jun 02, 2005 2:40 pm    Post subject: Reply with quote

Code:
nb ~ # cd /boot
nb boot # ls -l
insgesamt 0
lrwxrwxrwx  1 root root 1 27. Mär 00:06 boot -> .


Meindt Du das?
_________________
Anstrengungen, ein Programm "User-freundlich" zu machen, führen zu neuer Arbeit an den "Computerkenntnissen" der User.
Back to top
View user's profile Send private message
Slalomsk8er
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 228
Location: Münchenstein, Switzerland

PostPosted: Thu Jun 02, 2005 3:25 pm    Post subject: Reply with quote

ls -l natürlich, ich wusste doch, dass ich das mal wusste ;)

Danke


Sonnige Grüsse

Slalomsk8er
Back to top
View user's profile Send private message
hitachi
Guru
Guru


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

PostPosted: Tue Apr 08, 2008 9:55 pm    Post subject: Reply with quote

Hallo,

ich glaube ich habe da bei mir ein Problem mit dem boot Sachen. Ich habe mal die Festplatte gewechselt und sicher beim copieren den symlink kauptt gemacht. Auf jedenFall muss ich immer alles doppelt machen.
Code:
mount /boot && cd /boot
Leider kann man jetzt hier nicht sehen, dass einmal boot dunkelblau geschrieben ist und einmal hellblau.
Code:
ls -lah /boot/
Quote:
total 14M
drwxr-xr-x 6 root root 1.0K Apr 8 23:40 .
drwxr-xr-x 22 root root 560 Dec 16 19:47 ..
drwxr-xr-x 5 root root 1.0K Apr 7 09:56 boot
-rw-r--r-- 1 root root 3.4M Sep 29 2007 gentoo-2.6.22-r5
-rw-r--r-- 1 root root 3.5M Feb 17 19:44 gentoo-2.6.23-r8
-rw-r--r-- 1 root root 3.5M Mar 3 23:50 gentoo-2.6.23-r9
-rw-r--r-- 1 root root 3.6M Apr 7 09:55 gentoo-2.6.24-r4
drwxr-xr-x 2 root root 1.0K Feb 26 17:44 grub
drwx------ 2 root root 1.0K Aug 26 2007 lost+found
drwxr-xr-x 2 root root 1.0K Aug 30 2007 memtest86plus
-rw-r--r-- 1 root root 0 Apr 8 23:40 test
Code:
ls -lah /boot/boot/
Quote:
total 14M
drwxr-xr-x 5 root root 1.0K Apr 7 09:56 .
drwxr-xr-x 6 root root 1.0K Apr 8 23:40 ..
-rw-r--r-- 1 root root 0 Apr 17 2007 .keep
lrwxrwxrwx 1 root root 1 Sep 18 2007 boot -> .
-rw-r--r-- 1 root root 3.1M Sep 12 2007 gentoo-2.6.22-r5
-rw-r--r-- 1 root root 3.5M Feb 17 19:45 gentoo-2.6.23-r8
-rw-r--r-- 1 root root 3.5M Mar 3 23:50 gentoo-2.6.23-r9
-rw-r--r-- 1 root root 3.6M Apr 7 09:56 gentoo-2.6.24-r4
drwxr-xr-x 2 root root 1.0K Sep 12 2007 grub
drwx------ 2 root root 1.0K Aug 26 2007 lost+found
drwxr-xr-x 2 root root 1.0K Aug 30 2007 memtest86plus
Ich will das mal gerne aufräumen. Kann ich einfach folgendes machen:
Code:
cp -a /boot/boot/ /mnt/usb/
cp -a /mnt/usb/ /boot/
Oder auf welche Art und Weise bekomme ich das am besten wieder schön hin?

Danke für die Hilfe.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Wed Apr 09, 2008 12:13 am    Post subject: Reply with quote

hitachi wrote:
Ich will das mal gerne aufräumen. Kann ich einfach folgendes machen:
Code:
cp -a /boot/boot/ /mnt/usb/
cp -a /mnt/usb/ /boot/
Oder auf welche Art und Weise bekomme ich das am besten wieder schön hin?

Nicht ganz:
Code:
mkdir -p /mnt/usb/boot
mv /boot/boot/* /mnt/usb/boot/
rmdir /boot/boot/
cp -a /mnt/usb/boot/* /boot/

(das Wichtige ist dass /boot/boot Verzeichnis zu löschen bevor man den Symlink zurückkopiert)
Oder, da ja bis auf "boot" beide Verzeichnisse identisch zu sein scheinen sollte ein
Code:
rm -rf /boot/boot
ln -s . /boot/boot

auch ausreichen (diese Annahme sollte man aber vorher überprüfen).
Back to top
View user's profile Send private message
hitachi
Guru
Guru


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

PostPosted: Wed Apr 09, 2008 8:10 pm    Post subject: Mein Problem ist gelöst! [solved] Reply with quote

Genone wrote:

Oder, da ja bis auf "boot" beide Verzeichnisse identisch zu sein scheinen sollte ein
Code:
rm -rf /boot/boot
ln -s . /boot/boot

auch ausreichen (diese Annahme sollte man aber vorher überprüfen).
Es funktioniert. Deine Annahme war somit richtig.
Vielen Dank. Wieder etwas gelöst!
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