Bruno Posted February 17, 2006 Share Posted February 17, 2006 if i partition in FAT16 do you tink it will work?I dunno . . . but it might if you make the partition not bigger then 250 MB ( or 500 MB the most ) and leave the rest of the drive unpartitioned = emptyB) Bruno Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 What we could try if that does still not work . . . . . is copy all the files to the XP partition . . . make the partition larger ( same id ) . . and then copy the files back to the ipod ( using XP ). Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 DSL pendrive BIOS boot FAT USB_HDD install/update.1. Your BIOS must support USB-HDD booting.2. A single FAT partition will be made.3. Backup/Restore will be pre setup.4. Do not have your pendrive mounted.No responsibility for data loss or hardware damage!Display your USB storage device information log? (Y/n): yscsi2 : SCSI emulation for USB Mass Storage devices Vendor: Apple Model: iPod Rev: 1.62 Type: Direct-Access ANSI SCSI revision: 02Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0SCSI device sda: 78126048 512-byte hdwr sectors (40001 MB)Enter the device name of pendrive.(EXAMPLE: sda): sdaIs this an installation or upgrade? (i,u) iUse DSL iso from [L]iveCD, from [F]ile, from [W]eb. (l/f/w): lList boot options: Example: vga=normal toram ssh nfs syslog lpd monkey ftp: Choose language/keyboard if other than english: Example: cs da de es fr nl it pl ru sk: Ready to proceed. (y/..)? yLast change to exit before destroying all data on /dev/sdaContinue (y/..)? if this helps Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 Yep . . . I see it leaves not much options . . . . . . anyway proceed and if the partition is still to small we will try to make it larger using the method I wrote in post #92: after the install to USB copy all the files from the USB to the XP partition . . . make the partition larger ( same id ) . . and then copy the files back to the ipod ( using XP ). Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 still to small Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 Try the "copy all the files" option post #92 ;) Bruno Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 17, 2006 Share Posted February 17, 2006 I dunno . . . but it might if you make the partition not bigger then 250 MB ( or 500 MB the most ) and leave the rest of the drive unpartitioned = emptyB) BrunoIsn't it possible to use that 39gb+ /dev/sda2 partition? That was clearly made intentionally by the DSL install script -- look at the last install dialog up the thread. I'd try to figure out why that can't be mounted ?? -- something written back up the thread. Lots of usbsticks won't boot from anything but a fat16 part, which is big enough for 2gb max; suspect that's why DSL does it this way.Isn't DSL a knoppix layout? It would be straightforward to use it on one big fat32 if that's what's wanted, by just copying the files over from the cd to a subdir on the big /sda1 -- make the stick bootable to msdos, and use loadlin or grub.exe to boot DSL. Pretty sure I mentioned doing that in a post I put up here some time back. Any knoppix, even the full 2.3gb dvd release, could be used in the same way. There may be an issue re how the /sda1 is mounted after boot, when you get it running from a single part -- the big knoppix mounts the partition holding the /knoppix file read-only. Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 Isn't DSL a knoppix layout? It would be straightforward to use it on one big fat32 if that's what's wanted, by just copying the files over from the cd to a subdir on the big /sda1 -- make the stick bootable to msdos, and use loadlin or grub.exe to boot DSL. Pretty sure I mentioned doing that in a post I put up here some time back. Any knoppix, even the full 2.3gb dvd release, could be used in the same way. There may be an issue re how the /sda1 is mounted after boot, when you get it running from a single part -- the big knoppix mounts the partition holding the /knoppix file read-only.With loadlin and/or knoppix you can only use that USB device on that particular computer and thus it is not portable.Making a 2 GB fat16 partition and copy the exact files that are now on the ipod back to that partition ( sda1 ) should work though.Sure sda2 is mountable and accessable from sda1 . . . but you get a lot of permission/ownership problems with the files you store there, and the MyDSL programs will not load from sad2. Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 look at this maybe i am doing some thing wrongCommand (m for help): pDisk /dev/sda: 40.0 GB, 40000536576 bytes64 heads, 32 sectors/track, 38147 cylindersUnits = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System/dev/sda1 1 38147 39062512 83 LinuxCommand (m for help): tSelected partition 1Hex code (type L to list codes): l 0 Empty 12 Compaq diagnost 81 Minix / old Lin a8 Darwin UFS 1 FAT12 14 Hidden FAT16 <3 82 Linux swap a9 NetBSD 4 FAT16 <32M 16 Hidden FAT16 83 Linux ab Darwin boot 5 Extended 17 Hidden HPFS/NTF 84 OS/2 hidden C: b7 BSDI fs 6 FAT16 1b Hidden Win95 FA 85 Linux extended b8 BSDI swap 7 HPFS/NTFS 1c Hidden Win95 FA 86 NTFS volume set be Solaris boot a OS/2 Boot Manag 1e Hidden Win95 FA 87 NTFS volume set eb BeOS fs b Win95 FAT32 3c PartitionMagic 8e Linux LVM ee EFI GPT c Win95 FAT32 (LB 41 PPC PReP Boot 9f BSD/OS ef EFI (FAT-12/16/ e Win95 FAT16 (LB 42 SFS a0 IBM Thinkpad hi f0 Linux/PA-RISC b f Win95 Ext'd (LB 63 GNU HURD or Sys a5 FreeBSD f2 DOS secondary 11 Hidden FAT12 80 Old Minix a6 OpenBSD fd Linux raid autoHex code (type L to list codes): 6Changed system type of partition 1 to 6 (FAT16)Command (m for help): pDisk /dev/sda: 40.0 GB, 40000536576 bytes64 heads, 32 sectors/track, 38147 cylindersUnits = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System/dev/sda1 1 38147 39062512 6 FAT16Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.WARNING: If you have created or modified any DOS 6.xpartitions, please see the fdisk manual page for additionalinformation.Syncing disks. Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 I think you try to make a fat16 partition of 40 GB . . . . and it seems the max for fat16 is 2 GB . . . And next you need windows to format the partition fat16 . . . . . you only changed the id to 6 it is not yet formatted. ( or use "mkfs.msdos" in Linux ) Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 it says this at first what does it meandsl@box:~$ sudo fdisk /dev/sdaThe number of cylinders for this disk is set to 38147.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) And next you need windows to format the partition fat16 . . . . . you only changed the id to 6 it is not yet formatted. ( or use "mkfs.msdos" in Linux ) Bruno Okay i am not sure how Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 try this: $ sudo mkdosfs -F 16 /dev/sda1 Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 it goes to heredsl@box:~$ sudo mkdosfs -f 16 /dev/sda1mkdosfs 2.9 (15 May 2003)Bad number of FATs : 16Usage: mkdosfs [-A] [-c] [-C] [-v] [-I] [-l bad-block-file] [-b backup-boot-sector] [-m boot-msg-file] [-n volume-name] [-i volume-id] [-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs] [-F fat-size] [-r root-dir-entries] [-R reserved-sectors] /dev/name [blocks]dsl@box:~$ Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 17, 2006 Share Posted February 17, 2006 it says this at first what does it meandsl@box:~$ sudo fdisk /dev/sdaThe number of cylinders for this disk is set to 38147.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1) software that runs at boot time (e.g., old versions of LILO)2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)The partition is to big . . . . . . make it 2 GB !! BrunoPS: You did the wrong F in the command . . . it is not -f . . but -FPS2: It is late . . I have to get some sleep . . . . .we will see tomorrow. Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 17, 2006 Author Share Posted February 17, 2006 dsl@box:~$ sudo mkdosfs -F 16 /dev/sda1mkdosfs 2.9 (15 May 2003)WARNING: Not enough clusters for a 16 bit FAT! The filesystem will bemisinterpreted as having a 12 bit FAT without mount option "fat=16".mkdosfs: Attempting to create a too large file systemdsl@box:~$ Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 18, 2006 Share Posted February 18, 2006 With loadlin and/or knoppix you can only use that USB device on that particular computer and thus it is not portable. Bruno??? Lost me there -- it would be exactly as portable as doing it the same way that the DSL install script does it. It's the individual puter's bios that determines whether or not you can boot from usb. Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 18, 2006 Share Posted February 18, 2006 dsl@box:~$ sudo mkdosfs -F 16 /dev/sda1mkdosfs 2.9 (15 May 2003)WARNING: Not enough clusters for a 16 bit FAT! The filesystem will bemisinterpreted as having a 12 bit FAT without mount option "fat=16".mkdosfs: Attempting to create a too large file systemdsl@box:~$Bruno has probably gone to bed by now -- so the mouse comes out to play. FYI, you can't make a legal fat16 part bigger than 2gb, that's why the format failed. Fat32 can be made any practical size. The DSL install script is going to keep doing the same thing over and over. I s'pose the script could be copied to hd and edited, but there are other ways of getting to the same place. If you want to play with this until Bruno comes back, then you could do the following, which will not in any way mess up what he might tell you to do later. - attach your ipod, boot with the knoppix livecd you have - open a command shell, become superuser$ su# cfdisk /dev/sda which will open the ipod disk in that partition tool. Generally what we want to do is to delete all existing partitions on that disk, and then create 3 new parts. Arrow up/down moves the highlight, arrow right/left selects the choices available at any moment -- seen across the bottom of the screen. At any time you feel lost, just ctrl-C to exit the program, no write will be done to any disk until you specifically say 'Write'. Delete starting at the bottom, work upward till none are left. Then highlight the 'open space' item, and do a New, size 2000mb, front of the disk, type fat16, bootable, primary, and enter. Note on the type screen there are a huge number of choices -- but all you'll need are there, just remember the number associated with the type. -- next arrow down to the open space item, New, size 500mb, front, type linux swap, primary, not bootable, and enter- then arrow down to the open space item, new, size (remainder of the disk), type fat32, primary, not bootable, and enterReview the settings, arrow up/down to highlight anything needing to be changed [and none of this is anything but setup until the next step] ... then when it is the way you want, arrow-right to the Write item, hit enter, and yes to the question. Choose Quit to exit the program. Then reboot the puter, using the Knoppix live again. Again become su, and run cfdisk /dev/sda again, this time just to verify your 3 partitions got done -- they will be there. Be sure the * bootable flag is present beside the sda1 partition. Change anything necessary, Write, and reboot to fix the changes into the disk. Note cfdisk will make small adjustments to your size specs, to make parts start & end on cylinder boundaries -- this is normal. Next, format the partitions ... $su# mkfs.msdos -F 16 /dev/sda1# mkswap /dev/sda2# mkfs.msdos -F 32 /dev/sda3If that all looks good so far, then it's time to try one of the knoppix cheat routines. Reboot with that cd, and at the boot: prompt, enter knoppix tohd /dev/sda1 ... which will cause it to write it's 700mb content to a file on that empty first partition. When that finishes [will takes several minutes, big file] reboot again with the knopp cd, and at the boot: prompt, enter knoppix fromhd /dev/sda1 -- which will cause it to boot and run from the copy on the hard disk. It'll be MUCH faster than running from the cd. If that all works, then we could discuss other ways to boot it, how to save config changes, upgrades, permanent /home, etc. Knoppix will already have Firefox, Office, and a ton of other goodies. Up to you. Otherwise, it'll be that much done when Bruno comes back tomorrow. Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 I had to take a break for a little while so i am back and will try that Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 (edited) If that all looks good so far, then it's time to try one of the knoppix cheat routines. Reboot with that cd, and at the boot: prompt, enter knoppix tohd /dev/sda1 ... which will cause it to write it's 700mb content to a file on that empty first partition. When that finishes [will takes several minutes, big file] reboot again with the knopp cd, This part didn't work. Even if i have to boot with a cd every time i think this might be the way to go. It will still be portable to any computer that supports booting from a cd. As long as i can save settings, and install programs. Here is the fdisk -l knoppix@0[knoppix]$ sudo fdisk -l Disk /dev/hda: 40.0 GB, 40020664320 bytes 240 heads, 63 sectors/track, 5169 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/hda1 1 771 5828728+ b W95 FAT32 /dev/hda2 * 772 5168 33241320 7 HPFS/NTFS Disk /dev/sda: 40.0 GB, 40000536064 bytes 64 heads, 32 sectors/track, 38147 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1907 1952752 4 FAT16 <32M /dev/sda2 1908 2384 488448 82 Linux swap / Solaris /dev/sda3 2385 38147 36621312 b W95 FAT32 knoppix@0[knoppix]$ Edited February 18, 2006 by jthom203 Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 18, 2006 Share Posted February 18, 2006 Hi jthomIf you backed up the files from your previous DSL install . . . I would simply copy them to the /dev/sda1 partition, it is large enough now Bruno Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 18, 2006 Share Posted February 18, 2006 This part didn't work. Even if i have to boot with a cd every time i think this might be the way to go. It will still be portable to any computer that supports booting from a cd. As long as i can save settings, and install programs.+++++++++++Curious ... I wonder which part didn't work? Is there a big file in that first /sda1 partition, ~700mb size, named KNOPPIX? [just checked here, 689.5mb on this 4.0.2 version of Knoppix]If not, then the 'tohd' part failed. You could just use Windows Explorer to copy it from the cd in that case -- make a \KNOPPIX subdir in that first partition, and then find \KNOPPIX\KNOPPIX on the cd and copy that to your /sda1 -- and then try the boot: knoppix fromhd=/dev/sda1 again. If the file is there, and you properly issued the cheatcode to the boot: prompt, then there is a usb issue. From a look at the cheatcodes doc, then this might work ... boot: knoppix usb2 fromhd=/dev/sda1 lang=us ... which will attempt to init the usb hardware.Here's a snip of the relevant cheats from the cheatcode doc on the cd -- knoppix tohd=/dev/hda1 Copy CD to HD partition and run from thereknoppix fromhd Skip checking for Knoppix on CD-ROMknoppix fromhd=/dev/hda1 Boot from previously copied CD-Imageknoppix bootfrom=/dev/hda1 Access Image then boot from previously copied CD-Image (enables booting from NTFS / ReiserFS) ***)knoppix bootfrom=/dev/hda1/KNX.iso Access image, boot from ISO-Image. ***)knoppix knoppix_dir=KNOPPIX Directory to search for on the CD. knoppix knoppix_name=KNOPPIX Cloop-File to search for on the CD.. Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 I think with the DSL i will use my 128mb memory stick. But i think i want to put knoppix on my ipod. at least for now. Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 (edited) i had the cheat code wrong but it is copying nowokay i entered in knoppix fromhd=/dev/sda1 and it seem to boot up fine now what? Edited February 18, 2006 by jthom203 Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 what are the other boot options? how to i save settings and install programs? Quote Link to comment Share on other sites More sharing options...
Bruno Posted February 18, 2006 Share Posted February 18, 2006 I think with the DSL i will use my 128mb memory stick. But i think i want to put knoppix on my ipod. at least for now.That's okay jthom203 . . . . just for your info: I tested DSL on a 256 MB stick this afternoon and it made one 256 partition, so loads of space was left ( + 200 MB ) for files and extra programs.The stick was originally formatted Ext3 ( linux format ), I just backed up the files that I had on it and did no "sprecial" pre-install tricks, just plugged it in and let DSL do the job. The experiment was successful.I now have to format it back to Ext3 and restore the backed up files to it :DB) Bruno Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 I just think it will be easier to put DSL on the memory stick, and try Knoppix on the iPod Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 18, 2006 Share Posted February 18, 2006 i had the cheat code wrong but it is copying nowokay i entered in knoppix fromhd=/dev/sda1 and it seem to boot up fine now what?Ahhh, success. So, you know how to boot it with the cd; do that again, adding the single number 3 to the end of your boot string, which will make it stop at a logged-in root prompt. Then run #startx, which will bring you up to the KDE desktop already logged in as root. At this point it'll do anything that you can do from the cd, only lots faster. I'd say, next thing to do is some minor setup changing [KDE Control Center] and then click on that penguin icon near the K button, and do the save-configs routine. I'd advise, choose /dev/sda1 as the destination -- IOW, keep them on your portable disk where they'll be found on the next puter you attach this to. This will write a couple files to your /dev/sda1 part; configs.tbz [contains a compressed list of your changes] and a little script file knoppix.sh. That script will get executed automatically at later bootups. Once comfortable with linux, you can edit it to add your own commands to do whatever other customizing you might like -- mounting disks, copying in files to be able to play movies and wmv, a custom XF86Config file -- the world is wide open to a person with a root prompt. This is kinda the equivalent of a msdos autoexec.bat routine. [if it refuses to save to /dev/sda1, then choose /dev/sda3, and we'll work around this later] Then, reboot again, this time adding 3 myconfig=/dev/sda1 to that knoppix startup string. This time, and hereafter, it will read that configs.tbz and knoppix.sh file, and restore your previous setup. You will see that in the screen dialog just above the root prompt. One further note, re saving configs -- be sure to bring up Firefox or Mozilla or whatever browser, and empty its cache before saving configs; else, you may save up to 50 megs or so of cached html junk. You have to exercise some personal judgement re how to keep that configs.tbz file small -- it has to be reloaded at every boot. If you need to save data files, that's what that /dev/sda3 is for. Then ... just spend some time playing with the system, come back and report what you still need to know. There are lots of Knoppix guides on the web -- checkout some of those. http://www.google.com/search?hl=en&lr=&saf...pix&btnG=SearchWhat you have now is commonly called a 'poor man's install'. . Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 (edited) when i rebooted it said Can't find knoppix file system, sorry.i used knoppix fromhd=/dev/sda1 3 Edited February 18, 2006 by jthom203 Quote Link to comment Share on other sites More sharing options...
burninbush Posted February 18, 2006 Share Posted February 18, 2006 (edited) when i rebooted it said Can't find knoppix file system, sorry.i used knoppix fromhd=/dev/sda1 3Well ... do whatever you did back in #113. Maybe you told it /sda13??? Edited February 18, 2006 by burninbush Quote Link to comment Share on other sites More sharing options...
jthom203 Posted February 18, 2006 Author Share Posted February 18, 2006 Well ... do whatever you did back in #113. Maybe you told it /sda13???I tried it 5 or 6 times and it says the same thing. i even. copied it 3 times. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.