LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-28-2008, 12:47 PM   #1
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
/dev/disk/by-uuid on install disk?


I'm installing Slackware to a USB HD, and would like to tell lilo and ftab which partitions to mount by uuid. Problem is, there's no /dev/disk on the Slackware install disk (DVD). What would be the correct way to solve this?
 
Old 06-28-2008, 03:37 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 490
Blog Entries: 1

Rep: Reputation: 55
I was told, in another thread I started when I tried to use /dev/disk/by-uuid in my grub/menu.lst file, that the distros that do that have provisions for reading the uuid in the initrd that is loaded with the kernel. I did not pursue it, as I didn't think it was worth the effort, but that should provide you a starting point.
Regards,
Bill
 
Old 06-28-2008, 11:05 PM   #3
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Original Poster
Rep: Reputation: 30
This seems also to be related to udev, and the commands udevtrigger and vol_id.

Any suggestions on how to do this in slackware? The only distro I know that works with uuid from boot is *shudder* Ubuntu.
 
Old 06-29-2008, 08:15 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
From what I know the problem is not per se Slackware but Lilo. When you install and are gone through the Lilo configuration you can switch to a second console, do a "chroot /mnt" and then "/etc/rc.d/rc.udev start" - then you have the /dev/disk/by-uuid-folder. But Lilo can not handle UUID's as fare as I know. You would have to switch to Grub at least. I don't know if the Ubuntu Grub has a patch to do this or if the ability to handle uuid's is build into the Slackware version, too, but I fear it's only included in Grub 2 and not Grub legacy, the version that is in Slackware's /extra folder.

Last edited by titopoquito; 06-29-2008 at 08:54 AM. Reason: typo
 
Old 06-29-2008, 08:33 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,269

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
See post #2.
 
Old 06-29-2008, 08:45 AM   #6
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by titopoquito View Post
From what I know the problem is not per se Slackware but Lilo. When you install and are gone through the Lilo configuration you can switch to a second console, do a "chmod /mnt" and then "/etc/rc.d/rc.udev start" - then you have the /dev/disk/by-uuid-folder. But Lilo can not handle UUID's as fare as I know.
Did not think of rc.udev. Thanks!

As for Lilo, it can handle /dev/disk/by-uuid if you use append= instead of root=.
 
Old 06-29-2008, 08:54 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Quote:
Originally Posted by randomsel View Post
Did not think of rc.udev. Thanks!

As for Lilo, it can handle /dev/disk/by-uuid if you use append= instead of root=.
Ups, I meant "chroot /mnt" of course.
 
  


Reply


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
Ubuntu Install not finding IDE disk (/dev/hda) TheRealDeal Ubuntu 9 05-14-2009 09:06 AM
initial ram disk image support for UUID query aus9 Linux - Kernel 9 02-03-2008 10:31 PM
Move /dev/hda2 to end of disk and grow /dev/hda1 bcg121 Linux - Software 4 11-09-2007 09:51 PM
[SOLVED] system disk moves from /dev/sda to /dev/sdm gdevaucorbeil Linux - Hardware 4 03-10-2007 09:30 AM
floppy only reads first disk, if new disk is inserted data from first disk is shown. lakosked Debian 3 02-18-2006 08:44 PM


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

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