Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.gentoo    |    Stupid OS you gotta compile EVERYTHING    |    17,684 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 16,341 of 17,684    |
|    Nikos Chantziaras to Aragorn    |
|    Re: fsck tries to check non-existent dis    |
|    13 Jul 08 19:53:30    |
      From: realnc@arcor.de              Aragorn wrote:       > On Sunday 13 July 2008 05:17, someone who identifies as *Nikos Chantziaras*       > wrote in /alt.os.linux.gentoo:/       >       >> I have a Gentoo installation that I'm trying to make bootable in 2       >> different machines. [...]       >>       >> [...] booting it in the 2nd machine results in swapon       >> complaining that /dev/sda2 does not exist (which is correct). It fails       >> to pick /dev/sdc2 (LABEL=GentooSwap).       >>       >> [...] 'fsck -C -T -a /'complains that /dev/sdc1 cannot be repaired       >> [...]       >       > Have you tried using labels as well for */boot/grub/menu.lst?* By the way,       > by the same token you can also use UUIDs instead of labels, but that makes       > for much longer strings, of course.              Now that you mentioned UUIDs, I noticed that /dev/disk/ contains these       directories: by-id/ by-label/ by-path/ by-uuid/              After I changed fstab to:              /dev/disk/by-label/GentooRoot / ext3 noatime 0 1       /dev/disk/by-label/GentooSwap none swap sw 0 0              it works perfectly. I suppose it should have worked with the LABEL=       syntax in the first place too. by-id and by-uuid also works though I       prefer labels (out of habit).              Anyway, it works now so I'm happy. I wonder though if I should open a       bug for it. The behavior with LABEL= looks dangerous to me. swapon       previously complained that /dev/sda2 does not exist. What if /dev/sda2       *did* exist? It would happily wipe it out by using it as swap :P              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca