LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-26-2011, 01:49 PM   #1
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
Unhappy how to build a debian from scratch


I need help to create a Debian From Scratch. I have read about a live cd but i dont know where to find it. Please help me.
 
Old 09-26-2011, 02:04 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Found this on google - http://linux.suramya.com/tutorials/Install_DFS/

Cheers,

Josh
 
Old 09-26-2011, 02:08 PM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
A LiveCD wont help you build a Debian system from scratch it is a full Debian system on cd which you use to install Debian onto your system after seeing how it looks and works. You get it from here.

If you want to know how to make a LiveCD then you need to install the Live Build tools via synaptic (there are quite a few parts if you want to do it fully) and I would suggest you install the live-manual-pdf package as well and read that.

If you are talking about just using a CD and then installing Debian over the internet then download a netinst cd and build your system up from there. A netinst cd will give you a basic command line system and you will have to apt-get install everything you want until you get aptitude (which don't like) or synaptic installed.
 
Old 09-26-2011, 02:21 PM   #4
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Corp769 Thanks for your reply but i have already seen that web site. The problem with it is that the links are all unavailable. However i will keep it in mind to use it when i have the CD. Thanks anyway.
 
Old 09-26-2011, 02:33 PM   #5
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I've found a LiveCD in a uploaded in 2006. Is there any information updated about this project?
 
Old 09-26-2011, 02:38 PM   #6
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
k3lt01: I've checked the link you post and I coldn't do anything after that. I want to make a Debian from scratch just like Linux from Scratch but with the ability to update easy, as easy as typing apt-get.
 
Old 09-26-2011, 02:51 PM   #7
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by adriankevin View Post
k3lt01: I've checked the link you post and I coldn't do anything after that. I want to make a Debian from scratch just like Linux from Scratch but with the ability to update easy, as easy as typing apt-get.
Oh, so that's what you want to do this whole time? You know you can customize LFS (hence why it's called LFS....) and you can incorporate RPM, DEB, etc......
 
Old 09-26-2011, 03:26 PM   #8
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
I've tried to install apt to my LFS but there are a lot of dependencies in it and the essence (very little space) gets lost. I think that will be easier to install a DFS and update it with the repositories of Debian.

PD: To install apt in my LFS I use the BLFS book.
 
Old 09-26-2011, 03:48 PM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Debian From Scratch was not an official part of Debian, and the last news I have found from it was from 2006, the release of version 0.99. I would think it is abandoned.
I would recommend to make a really minimal install of Debian with debootstrap (for the smallest size have a look at the --variant=minbase option, was about 160MB with Lenny, don't know for newer versions) and build your system up from that.
 
Old 09-26-2011, 05:45 PM   #10
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
Originally Posted by adriankevin View Post
I've tried to install apt to my LFS but there are a lot of dependencies in it and the essence (very little space) gets lost. I think that will be easier to install a DFS and update it with the repositories of Debian.

PD: To install apt in my LFS I use the BLFS book.
Look for a guide/howto on installing DPKG (the actual package manager) on LFS.
Once you have DPKG installed, you can easily use it for everything else (including Apt and friends).

PS: I always use DPKG/APT on LFS.

Last edited by jens; 09-26-2011 at 05:50 PM.
 
Old 09-27-2011, 06:30 PM   #11
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
Does anyone know what's up with those repositories all coming up "not found" when you use the Debian live site to build a CD? I discovered live.debian.net yesterday and have tried four or five times to use it, expecting it to send me an ISO, but every time, the log kept indicating that the repositories were not found. (I could post the log from the last time I tried to build a CD, if anyone wants to see it.) I don't know whether part of the Debian site is broken or whether I'm doing something wrong (I suspect not, if Adriankevin has the same problem at roughly the same time). I hope I can figure out what's wrong, as this Debian Live site is a great service.
 
Old 09-28-2011, 10:42 AM   #12
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Originally Posted by newbiesforever View Post
Does anyone know what's up with those repositories all coming up "not found" when you use the Debian live site to build a CD? I discovered live.debian.net yesterday and have tried four or five times to use it, expecting it to send me an ISO, but every time, the log kept indicating that the repositories were not found. (I could post the log from the last time I tried to build a CD, if anyone wants to see it.) I don't know whether part of the Debian site is broken or whether I'm doing something wrong (I suspect not, if Adriankevin has the same problem at roughly the same time). I hope I can figure out what's wrong, as this Debian Live site is a great service.

Did you look at this location? http://cdimage.debian.org/cdimage/re...64/iso-hybrid/

That is for amd64 you may need i386 but they should have that too.
 
Old 09-28-2011, 11:43 AM   #13
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
Quote:
Originally Posted by 62chevy View Post
Did you look at this location? http://cdimage.debian.org/cdimage/re...64/iso-hybrid/

That is for amd64 you may need i386 but they should have that too.
Thanks, but I've been there (Debian liveCD from a premade ISO) and that's not what I meant. I'm referring to this-- http://live.debian.net/ -- the service that makes a custom Debian system according to your specifications. Every time I try to use it, the log ends in these errors--
Quote:
W: Failed to fetch http://localhost/debian/dists/squeez...rce/Sources.gz 404 Not Found [IP: ::1 80]

W: Failed to fetch http://localhost/debian/dists/squeez...rce/Sources.gz 404 Not Found [IP: ::1 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
End: Tue, 27 Sep 2011 17:13:27 -0500
 
Old 09-28-2011, 02:15 PM   #14
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Newbies, have you downloaded the scripts? they are what is used on the website. Download them and read the book. Take your time and you will learn it.
 
Old 09-29-2011, 03:30 PM   #15
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
Newbies, have you downloaded the scripts? they are what is used on the website. Download them and read the book. Take your time and you will learn it.
What book is that? And I didn't see any instructions about scripts on http://live-build.debian.net/cgi-bin/live-build . But then I don't know much about scripting, so unless it spells out instructions with the something as obvious as "download these scripts," I wouldn't necessarily recognize the scripts.

Last edited by newbiesforever; 09-29-2011 at 03:35 PM.
 
  


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
[SOLVED] trying to build from scratch and having trouble (squeeze) radiodee1 Debian 4 11-30-2010 07:27 AM
Wanting to build Linux as second OS from scratch wildnorth Linux From Scratch 5 11-15-2006 09:03 PM
hplip on a linux from scratch build? behmjoe Linux - Hardware 0 12-19-2005 07:57 PM
mod_jk build from scratch dunamin Linux From Scratch 3 08-27-2005 12:05 AM
Build from scratch JROCK1980 Linux - Distributions 2 09-09-2003 07:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:42 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