wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 (edited) ok il try that, but i have no floppy drive (new laptop). can i do it with a cd? or some other way? also, sorry for my newbishness, but the path to the partiton i think is /mnt/sda1 but am a little confused, maby it is /dev/sda1? Edited June 24, 2004 by wigimister Quote Link to comment Share on other sites More sharing options...
illogic-al Posted June 24, 2004 Report Share Posted June 24, 2004 it's probably possible, but i dont know how Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 it says chroot: cannot change root directory to /bin/bash: Not a directory ?? Quote Link to comment Share on other sites More sharing options...
streeter Posted June 24, 2004 Report Share Posted June 24, 2004 Don't have an external HDD, so haven't tried it... but this would work for a normal hard drive (I have had to do it several times): In Knoppix- su mkdir /1 mount /dev/sda1 /1 chroot /1 cd /etc edit the lilo.conf file if you need to lilo -b /dev/hda then reboot... If unsure of what lilo.conf should look like, post the file here for us to look at. If afraid, wait to see what others say about my post :) - any comments anybody? Chris Quote Link to comment Share on other sites More sharing options...
streeter Posted June 24, 2004 Report Share Posted June 24, 2004 Whoa - overlapping posts Try just leaving out the /bin/bash bit - type chroot /path/to/mdk/partition/ Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 when i leave out the /bin/bash, it puts it in there for me, giving me the same error chroot: cannot change root directory to /bin/bash: Not a directory Quote Link to comment Share on other sites More sharing options...
bvc Posted June 24, 2004 Report Share Posted June 24, 2004 chroot /mnt Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 also another stupid question, wheres lilo.conf? i used find files, but nothing comes up, and it takes about .5 seconds to search. Quote Link to comment Share on other sites More sharing options...
bvc Posted June 24, 2004 Report Share Posted June 24, 2004 /etc/lilo.conf but that's after you; chroot /mnt you should find it in /mnt/etc/ Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 chroot /mnt also dosent work, same problem as before i stil cant find lilo.conf, in /mnt/sda1/mnt/ i see no /ect/, only folders cd-rom and windows Quote Link to comment Share on other sites More sharing options...
bvc Posted June 24, 2004 Report Share Posted June 24, 2004 i think the problem is that you are trying to use an external USB drive as your boot device. then if this is what you are doing it's just not going to work.....that I've heard of anyway. Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 24, 2004 Author Report Share Posted June 24, 2004 that sucks... Quote Link to comment Share on other sites More sharing options...
bvc Posted June 25, 2004 Report Share Posted June 25, 2004 that sucks... Todays big hd's make it unnecessary......todays kernel-2.6 distros/buggy/ruin your dualboot make it necessary It's hard to convince people linux is worth trying with this kind of nonsense. For those that may question this, remember Linus said 2.6 wasn't ready for the desktop ;) 'Deny your maker' is what devel did. Quote Link to comment Share on other sites More sharing options...
wigimister Posted June 25, 2004 Author Report Share Posted June 25, 2004 i will not be defeated. tonite i will format my sda, use it to backup all the valuables i havent already lost, and tomorow i will resize my NTFS and load up linux on there (please god). what should i partition my empty space as before i put linux on there, and how much space do i need for mdk10? also when configuring bootloader, what do i do to dual boot with winxp and linux on the same drive? thanks for all your help! Quote Link to comment Share on other sites More sharing options...
bvc Posted June 25, 2004 Report Share Posted June 25, 2004 (edited) i will not be defeated. tonite i will format my sda, use it to backup all the valuables i havent already lost, and tomorow i will resize my NTFS and load up linux on there (please god). what should i partition my empty space as before i put linux on there, and how much space do i need for mdk10? also when configuring bootloader, what do i do to dual boot with winxp and linux on the same drive? thanks for all your help! If you can, I would definately do the resizing and linux partitioning first whether this is CE or OE. I use Partition Magic8. People are still having boot probs with OE though not near as bad as with CE. You'll need a minimum of /swap / /home minimum for /swap=250-500mb depending on how much ram you have. I have 512mb and a 200mb swap that is only ever 20% used. 500 is enough for most now days unless you only have 64mb ram or something. /=4GB /home=1GB again these are minmum. Better would be /=6GB /home=depends on how much 'stuff' 'media' you download and keep on the hd. Remember ntfs is read only in linux. the bootloader will do all that is needed to dualboot. [root@localhost root]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hdb11 4.8G 3.5G 1.1G 78% / /dev/hda1 15G 11G 4.6G 69% /98 /dev/hdb9 9.8G 6.3G 3.6G 64% /data none 253M 0 253M 0% /dev/shm /dev/hdb8 9.8G 24K 9.8G 1% /media /dev/hda5 14G 3.7G 11G 26% /xp [root@localhost root]# free -m total used free shared buffers cached Mem: 505 473 31 0 53 239 -/+ buffers/cache: 180 324 Swap: 211 0 211 [root@localhost root]# Edited June 25, 2004 by bvc 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.
Note: Your post will require moderator approval before it will be visible.