LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 06-28-2008, 01:47 PM   #1
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201
Thanked: 0
/dev/disk/by-uuid on install disk?


[Log in to get rid of this advertisement]
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?
randomsel is offline     Reply With Quote
Old 06-28-2008, 04:37 PM   #2
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-13.0, MultiLib
Posts: 325
Blog Entries: 1
Thanked: 6
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
TSquaredF is offline     Reply With Quote
Old 06-29-2008, 12:05 AM   #3
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201
Thanked: 0

Original Poster
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.
randomsel is offline     Reply With Quote
Old 06-29-2008, 09:15 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware 12.2
Posts: 1,350
Thanked: 19
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 09:54 AM.. Reason: typo
titopoquito is offline     Reply With Quote
Old 06-29-2008, 09:33 AM   #5
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
See post #2.
syg00 is offline     Reply With Quote
Old 06-29-2008, 09:45 AM   #6
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201
Thanked: 0

Original Poster
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=.
randomsel is offline     Reply With Quote
Old 06-29-2008, 09:54 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware 12.2
Posts: 1,350
Thanked: 19
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.
titopoquito is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 08:30 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration