LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-04-2009, 11:55 PM   #1
actmnophn
Member
 
Registered: Mar 2008
Posts: 53

Rep: Reputation: 15
Question build on usb disk


I tried searching but please point out if I missed anything.
I know I can install linux to a usb drive even w/o usb boot (which is my situation). The point being to load the kernel on a bootable device and point it to the usb disk.
My question is am I going to run into problems building it that way using LFS LiveCD for the "host system". is it better if I make a partition on the hd? I don't want to because I have a very small hd (6GB).
thank you.

Last edited by actmnophn; 02-05-2009 at 11:35 PM.
 
Old 02-06-2009, 10:37 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
If I understand correctly, you want to put your LFS kernel in the /boot directory on your 6GB HDD and the remainder of the filesystem on your USB disk. That's no problem and the LiveCD would work fine as the host system.
 
Old 02-06-2009, 12:15 PM   #3
actmnophn
Member
 
Registered: Mar 2008
Posts: 53

Original Poster
Rep: Reputation: 15
I want to build it on the usb and then move to the hd.
 
Old 02-06-2009, 05:26 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Building it on the USB disk and moving it should also not be a problem. But, why not just build it directly on the hdd? A base LFS system will easily fit in 6GB.
 
Old 02-07-2009, 06:50 PM   #5
actmnophn
Member
 
Registered: Mar 2008
Posts: 53

Original Poster
Rep: Reputation: 15
you are right. I left out some important information: I have xp installed on that already. not enogh free sace to partition for LFS.
 
Old 02-07-2009, 08:04 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Then how are you going to move it over after you build it on the USB disk?
 
Old 02-08-2009, 01:07 PM   #7
actmnophn
Member
 
Registered: Mar 2008
Posts: 53

Original Poster
Rep: Reputation: 15
just the kernel. Use grub4dos to load the kernel and point it to the lfs system on the usb. it will find the usb using the kernel's drivers.
 
Old 02-08-2009, 02:28 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Oh, duh. It's all clear as mud now. Anyway, yeah put /boot on the HDD and build the rest of the LFS system on the USB drive. No problems. I have a CLFS built on thumb drive, but keep the kernel on the HDD. Basically the same thing you're trying to do.
 
  


Reply



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
System collapse without kernel panic when copy file to a sata-disk or usb-disk JammyWei Linux - Embedded & Single-board computer 0 12-25-2008 08:21 PM
What size USB disk is boot rescue disk? Lufbery Slackware - Installation 11 12-02-2007 02:36 PM
how to build RH9 install disk based on current system markkreuzz Red Hat 2 08-10-2004 01:47 PM
How to build kernel for disk on chip not error Sunyard Linux - Newbie 0 05-22-2003 09:39 AM
lets build together a dual boot disk ! murshed Linux - General 11 02-28-2003 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration