LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-23-2008, 02:55 AM   #1
morphixrocks
Member
 
Registered: Dec 2005
Location: India & Singapore
Distribution: Vector linux, Debian
Posts: 42

Rep: Reputation: 15
install debian in sd card or thumb drive


hi,

currently i have a dell notebook, which could boot from usb thumb drive. thinking of installing debian in thumb drive and use it as normal hard disk + dual boot.

Note: i am not interested in USB Live distro

Thanks
 
Old 06-23-2008, 06:37 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
1. Just install to the USB stick

2. I find it much easier to get lilo to work rather than grub; you may need to escape to a shell at some point in the install so you can correct the lilo.conf file.

3. You may need to edit the /etc/fstab file since the 'root' device will most likely be different (most likely 'sda' or 'hda' when booting from USB).

4. Make sure the initrd image has the necessary drivers for USB, otherwise you get a kernel panic (can't mount root).

5. To reduce the writes to the stick, consider booting to a mostly read-only system with only a few key bits being read/write. This may require you tinkering with the system start scripts a bit. For example, format the stick with 2 partitions (one for 'home') and when the system boots, mount 'tmpfs' on /tmp and mount another tmpfs somewhere else, copy the contents of 'var' there (via 'cp -a'), them mount that copy of var over the original. Of course 'var' and 'tmp' may eat a bit into your RAM and you have something that's getting closer to a Live USB which you said you didn't want.

Have fun.
 
Old 06-26-2008, 08:39 AM   #3
morphixrocks
Member
 
Registered: Dec 2005
Location: India & Singapore
Distribution: Vector linux, Debian
Posts: 42

Original Poster
Rep: Reputation: 15
thanks for the reply. the problem with live usb (fedora) i faced was often getting corrupted.
 
  


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
Using a usb thumb drive or flash drive as a swap partition. stevenjoseph Linux - Hardware 8 01-16-2012 12:09 PM
freebsd usb thumb drive install taltman *BSD 6 03-08-2008 12:13 AM
Thumb Drive dudeman41465 Linux - Hardware 2 11-20-2005 01:02 AM
thumb drive iarebob Slackware 5 02-01-2005 03:33 PM
Debian Help / USB Thumb Drive / Sound for Mitat 5033 motoxx Linux - Newbie 0 06-24-2004 11:05 PM


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