LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 08-30-2005, 01:25 PM   #1
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Rep: Reputation: 30
Arrow Transcend 256mb pendrive wont boot DSL


I have installed DSL in the pendrive(256mb transcend) I used the correct geometry and downloaded usbboot.img from LQ forums.

I did this from knoppix . . . (hd install)
I formatted the drive with mkdosfs.
I logged in as root and created a directory dsl in /mnt
I mounted usbboot.img to /mnt/dsl copied /mnt/dsl/* to /mnt/sda1
Then I umounted the dsl folder and mounted dsl image(1.0.1) in /mnt/dsl and copied /mnt/dsl/knoppix to /mnt/sda1
I unmounted the dsl folder, deleted it.
Now I "cd" into /mnt/sda1 . Everything was fine.
I unmounted the pen-drive and restarted the pc. I set primary boot to usb-hdd once, usb-fdd once and usb-zip/mo once.
Nothing worked ... DSL did not boot off pendrive.
Legacy and other support for pendrive is enabled.
Iam using a VIA P4M266 board.(original board)

DSL

Regards and thanks in advance. . .
 
Old 08-30-2005, 02:08 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I'm fairly certain you'll need to set up some sort of bootloader in order to get it to boot.
 
Old 08-30-2005, 02:14 PM   #3
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
How to add a bootloader in usb? I have made the pen-drive bootable while formatting now with sfdisk. I formatted it again and still no use. Same result, not booting. I wud be grateful if u cud explain how to setup a bootloader in usbdrive ?
Is it this ?? Just a wild guess (install grub[or]lilo /dev/sda)
 
Old 08-30-2005, 02:17 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
While not for DSL, check out this page for feather linux (which I've used on a UBS drive): http://featherlinux.berlios.de/usb-instructions.htm
 
Old 08-30-2005, 02:20 PM   #5
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
Thanks for the two quick replies. Can I instant message u on AIM because Iam not familiar with, syslinux. I haven't used it before. Help me.

Last edited by gnukish; 08-30-2005 at 02:33 PM.
 
Old 08-30-2005, 04:11 PM   #6
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
I tried this command but I get error,
Code:
syslinux -s -o /home/bootusb-0.8.img /dev/sda1
Error is
"Total number of sectors not a multiple of sectors per track!
Add mtools_skip_check=1 to your .mtoolsrc file to skip this test"

But, my pendrive geometry from sfdisk says
Code:
root@box:~# sfdisk -l /dev/sda

Disk /dev/sda: 257 cylinders, 62 heads, 32 sectors/track
Units = cylinders of 1015808 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+   1023    1024-   1015807+   e  W95 FAT16 (LBA)
/dev/sda2          0       -       0          0    0  Empty
/dev/sda3          0       -       0          0    0  Empty
/dev/sda4          0       -       0          0    0  Empty
root@box:~#
I also tried editing the /usr/bin/.mtoolsrc file and added an entry
# mtools_skip_check = 1

Please guide me...
 
Old 09-14-2005, 02:08 PM   #7
hurric@ne
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
I got this bytestor 512mb slim usb flash drive and nothing works

Last edited by hurric@ne; 12-15-2005 at 06:11 AM.
 
Old 10-05-2005, 08:22 AM   #8
ubuntucountry
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Talking Boot from Pen Drive

To create a bootable pen drive version of DSL do the following...

1. insert your usb pen drive in the PC
2. boot the pc with DSL LiveCD.
3. At the boot menu screen Press F3
4. Type install - DSL will detect your devices then load a black screen that says DSL INSTALL OPTIONS
5. Choose #7 USB Pendrivev HDD boot install
6. Name the device sda (not sda1)
7. Wait while DSL loads the image to pen drive
8. Select 8 to reboot
9. Set your bios or boot menu to boot from USB devices.

If the format or load fails to install on the pen drive, format the pen drive with FAT (not FAT32) from a windows P.C. and start over.

The Pen Drive install is much faster than running DSL from cdrom.

One last note, if you want your settings to be saved back to the pen drive you will want to set mydsl=/dev/sda1
 
Old 10-27-2005, 07:56 PM   #9
JesusFreak84
Member
 
Registered: Sep 2005
Location: Grand Rapids, MI
Distribution: Ubuntu Feisty Fawn, dual-booted with WinXP Media Center Edition 2005
Posts: 61
Blog Entries: 1

Rep: Reputation: 15
I'm not asking to be nit-picky, just curious, but why wouldn't a FAT32 formatting work? I thought Linux could "understand" all FAT partition types.
 
Old 11-05-2005, 12:31 PM   #10
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
As I recall anything under 2GB will be FAT. Over 2GB you may format FAT32
 
Old 11-16-2005, 11:30 PM   #11
starquail
LQ Newbie
 
Registered: Nov 2005
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Perfect post ubuntucountry. Thank you.
 
  


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
Creating network install boot iso on usb pendrive Qwik Fedora - Installation 1 02-23-2006 02:10 PM
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
No boot of PuppyLinux on USB pendrive d1s4st3r Linux - Hardware 0 07-21-2004 12:49 PM
How to get the boot images to work with my USB pendrive?? FilipK Mandriva 2 05-10-2004 08:21 AM
boot from pendrive parsimonias Linux - Hardware 1 07-01-2003 06:52 PM

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

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