Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-04-2009, 11:35 PM   #1
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
Question fresh install of slackware64 and having troubles with my LV for home

BG history:
No errors installing. POST install, mounted OS LV and chroot. inside there i mounted my home and boot LV just fine before creating a initrd and running lilo.

Boot's up just fine besides not mapping my home LV correctly.
my home LV is /dev/root/home -> /dev/mapper/root-home. However during the initrd process it's only creating /dev/root and mapping it incorrectly /dev/root -> /dev/mapper/os-slackware64 which is already /dev/os/slackware64 -> /dev/mapper/os-slackware64.

Deleting /dev/root and running vgscan --mknodes creates the right mapping. I've also deleted the init tree and initrd.gz file and recreated them and reran lilo with still no luck in fixing the issue.

Anyone have any suggestions?
Old 12-05-2009, 06:22 AM   #2
LQ Veteran
Registered: May 2008
Posts: 6,202

Rep: Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276Reputation: 4276
Rename your volume group. You've got a name collision going on.

/dev/root is normally a symlink to the partition holding your / filesystem.

LVM uses /dev/<vgname>/<lvname> so if you make the mistake of naming your volumegroup 'root' or anything else that matches any other existing device in /dev then you're going to run into problems.

I suggest you pick a standard prefix or suffix to give all your volume groups and lv names

...etc is the scheme I use.

I use 'rootvg' and not 'vgroot' because I'm used to seeing it this way around on AIX, though keeping it consistent by just using a prefix rather than prefix/suffix (so vgroot/lvroot) probably makes more sense if you're not already used to seeing it a certain way.

Don't forget to alter your fstab, lilo and initrd if you rename your vg/lvs.

Still, at least you had the sense to name them rather than to leave it as volgroup00/logvol00 like many people do! Which drives me nuts!!

Hope that helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fresh install with encrypted home partition w00ly Ubuntu 5 11-13-2009 02:32 AM
[SOLVED] Slackware64 12.2. Atheros wireless troubles. val3xiv Slackware 7 08-23-2009 05:47 PM
Can I copy old /home/ directory to fresh install? Adrian Baker Linux - General 2 01-09-2007 04:06 PM
No write access to home directory after a fresh install Lordandmaker Ubuntu 3 05-13-2006 06:49 PM
fresh install (fresh headache) powadha Slackware 2 03-06-2004 02:03 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration