LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Thread Tools
Old 11-04-2009, 03:36 PM   #1
linus72
Senior Member
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Ultimate-Edition-2.3/ 503box-Live/SalixOS/Phalanx-9.04/KNOPPIX-6.2/Fedora 12/Sidux-2009.03/Slack13
Posts: 2,911
Thanked: 229
Can Mandriva 2009 boot from USB and run persistent?


[Log in to get rid of this advertisement]
Anyone have Mandriva running persistent from USB?

I can't seem to find anything about it or if you can even do this?
thanks
linuxdebian linus72 is offline     Reply With Quote
Old 11-04-2009, 06:41 PM   #2
ShadowCat8
LQ Newbie
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 24
Thanked: 1
Now, I am taking it that you mean booting from something like a "thumb-drive"?

Unless there is something about the new version of Mandriva since they retooled their distro that I am unaware of, I can't see why you couldn't boot and run it from a USB device. As long as the hardware you are running on supports a USB boot, you should be able to do this fairly easily.

For long-term use, I wouldn't recommend doing this, since the constant accessing of the filesystem will run down the USB device *much* faster. Remember that those devices are generally rated on their MTBFs (Mean-Time Between Failures) by accesses (i.e. reads and/or writes). Many of those devices, especially the older ones, consider a read the same as a write. Newer ones are much more reliable as far as reads, but still have an MTBF based on writes.

If you are setting up a thumb-drive to be the root of your OS, I recommend compiling your kernel with CONFIG_BLK_DEV_PLATFORM. That is the linux kernel driver for using a "chip" (originally for Compact Flash chips) as a "true IDE" device. It's my understanding that it will help cut down 'unnecessary' accesses of the chip, though I haven't found any documentation yet to confirm that. Just the description of the driver within the menuconfig:
Code:
CONFIG_BLK_DEV_PLATFORM:

This is the platform IDE driver, used mostly for Memory Mapped 
IDE devices, like Compact Flashes running in True IDE mode.

If unsure, say N.                                                       

Symbol: BLK_DEV_PLATFORM [=n]
Prompt: Platform driver for IDE interfaces  
   Defined at drivers/ide/Kconfig:244
   Depends on: IDE  
   Location:                                                
     -> Device Drivers   
       -> ATA/ATAPI/MFM/RLL support (IDE [=y])
One last thought: Remember that for running persistently in linux, you will want a swap partition. You are going to have to separate that out on your USB device. There is an entire section of the linux kernel config dedicated to different types of flash-type chips and what you can do with them, including partitioning. Check them out. IIRC, you should find them under Device Drivers -> Memory Technology Device (MTD) support.

HTH.
linuxgentoo ShadowCat8 is offline     Reply With Quote
Old 11-07-2009, 10:55 PM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 192
Thanked: 20
Mandriva One 2009 itself does not support persistence in Live mode. There used to be a project that provided this functionality called MCNLive. Not only could it run persistent, it even enabled live remastering. I was very fond of it. Unfortunately develoment stopped in 2008 when the main developer left for personal reasons, no one has been able to pickup the mantle since.
linux ongte is offline     Reply With Quote
Thanked by:

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
opie internet over usb mandriva 2009.0 secretlydead Linux - Mobile 0 04-20-2009 07:44 PM
Mandriva 2009 won't boot completely eschrock Mandriva 17 04-20-2009 10:09 AM
Getting logcheck to run on Mandriva 2009 Toadman Linux - Software 2 01-04-2009 11:01 PM
Cannot boot Mandriva 2009 hayzhold Linux - Software 2 10-15-2008 07:54 PM
how do I get a persistent usb hd device name in mandriva rockets Linux - Newbie 3 06-19-2007 12:09 PM


All times are GMT -5. The time now is 01:54 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration