Bruno Posted January 9, 2005 Share Posted January 9, 2005 Well, you heard the Windows expert Gaucho . . . a repair install on hda6 ( did not even know that was possible ) . . . otherwise start from scratch, repartition and a new Windows install on hda1 ;)Sorry my friend . . . Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 but if i reinstalled on hda6 then i could still boot linux from boot cd.i also cant understand what difference it makes if linux is hda1 and windows on hda6.shouldnt it be interchangeable? Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 Windows expertPersonally, I find that term highly insulting! :lol:Yep, let's try a repair install on hda6 (which windows will now think is C:), and see if that makes it bootable. Then we can use the bootCD to get back in linux, and rewrite lilo to the MBR. Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 but if i reinstalled on hda6 then i could still boot linux from boot cd.i also cant understand what difference it makes if linux is hda1 and windows on hda6.shouldnt it be interchangeable?See my above post. And, they are interchangeable. In many cases, it is just easier to have windows on hda1. Seems to make more sense to some folks. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Correct . . we get LILO back with the boot-CD you made for PCLos . . . . . and then /sbin/liloB) BrunoSorry Adam . . . but compaired to me you are an expert Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 ok lets get this over with then i ll be back in an hour or so Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 Gauchoperezoso....make sure you select the repair option... it should go much quicker. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 9, 2005 Share Posted January 9, 2005 Good luck Gaucho !!!Now after that we need to know how you configure your net connection in PCLos . . to make it permanent ;)Also remember the command "swapon -a" . . . . . Bruno Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 9, 2005 Share Posted January 9, 2005 This would probably be a good time for me to get supper.... Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 9, 2005 Author Share Posted January 9, 2005 finally am back this install cd i have is bugged i think.i got it together with my laptop and there isnt any option to repair the system.the only way is to install the whole thing one more time.i had a lot of problems to start the installation on the windows partition strange enough.it didnt recognize it and didnt want to format it!!!really strange.i had to use another cd with win98 to format it.but then it went ok. now ill will reboot and launch linux from boot cd and will need your help with creating lilo Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 i am back running pclos this time .i have 4 partitions now .strangely enough in the shell i get this:[root@chello084010044003 guest]# cat /etc/fstab## Livecd-install Automatically added by livecd-installnone /proc proc defaults 0 0none /dev/pts devpts mode=0620 0 0none /proc/bus/usb usbfs defaults 0 0# /dev/hda1, size=1012032, type=130: Linux swap (primary)/dev/hda1 swap swap defaults 0 0# /dev/hda5, size=38909367, type=131: Journalised FS: ReiserFS (extended)/dev/hda5 / reiserfs notail,noatime,notail,noatime 0 0# /dev/hda6, size=37158282, type=7: NTFS (extended)/dev/hda6 /mnt/win_c ntfs user,exec,ro,noauto,iocharset=iso8859-1,umask=0 0 0# cdrom: TOSHIBA DVD-ROM SD-R2512/dev/hdc /mnt/cdrom auto user,exec,ro,noauto,iocharset=iso8859-1,codepage=850,umask=0 0 0[root@chello084010044003 guest]#the fourth one isnt here but in mcc partitions it does exist: hda3 size 7.8 MB Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 OK then,Can you give the the output from: mountdf -h Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 [root@chello084010044003 guest]# mount/dev/hda5 on / type reiserfs (rw,noatime,notail,notail)none on /proc type proc (rw)none on /proc/bus/usb type usbfs (rw)none on /sys type sysfs (rw)/dev/hdc on /mnt/cdrom type iso9660 (ro,nosuid,nodev,iocharset=iso8859-1,codepage=850,umask=0,user=gaucho)[root@chello084010044003 guest]# df -hFilesystem Size Used Avail Use% Mounted on/dev/hda5 19G 1.8G 17G 10% //dev/hdc 3.2M 3.2M 0 100% /mnt/cdrom[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Looks good so far. Now, I would like to see the output from: fdisk -l /dev/hda Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 [root@chello084010044003 guest]# fdisk -l /dev/hdaDisk /dev/hda: 40.0 GB, 40007761920 bytes255 heads, 63 sectors/track, 4864 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 1 63 506016 82 Linux swap/dev/hda2 64 4863 38556000 f Win95 Ext'd (LBA)/dev/hda3 * 4864 4864 8032+ e Win95 FAT16 (LBA)/dev/hda5 64 2485 19454683+ 83 Linux/dev/hda6 2486 4863 19101253+ 7 HPFS/NTFS[root@chello084010044003 guest]# i am confused now Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 lol... you and me both! :)Alrighty..... it look slike the boot flag is set on hda3(?), even though that is a very small partition.Let us investigate it..... mkdir /mnt/hda3mount /dev/hda3 /mnt/hda3ls -al /mnt/hda3 Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 [gaucho@chello084010044003 guest]$ suPassword:[root@chello084010044003 guest]# mkdir /mnt/hda3mkdir: cannot create directory `/mnt/hda3': File exists[root@chello084010044003 guest]# mount /dev/hda3 /mnt/hda3mount: /dev/hda3 already mounted or /mnt/hda3 busymount: according to mtab, /dev/hda3 is already mounted on /mnt/hda3[root@chello084010044003 guest]# ls -al /mnt/hda3total 304drwxr--r-- 3 root root 16384 Dec 31 1969 ./drwxrwxr-x 6 root root 144 Jan 10 01:21 ../-rwxr--r-- 1 root root 0 Jan 10 00:23 autoexec.bat*-r-xr--r-- 1 root root 4952 Apr 16 2003 Bootfont.bin*-rwxr--r-- 1 root root 291 Jan 10 00:13 boot.ini*-rwxr--r-- 1 root root 0 Jan 10 00:23 config.sys*-r-xr--r-- 1 root root 0 Jan 10 00:23 io.sys*-r-xr--r-- 1 root root 0 Jan 10 00:23 msdos.sys*-r-xr--r-- 1 root root 47580 Apr 16 2003 ntdetect.com*-r-xr--r-- 1 root root 234736 Apr 16 2003 ntldr*drwxr--r-- 3 root root 2048 Jan 10 00:29 System Volume Information/[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Well, that does not make me too much, because it shouldn't be there.... but you have a working Windows, right? :DWell, we need to make lilo point to hda3. cat /etc/lilo.conf Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 yup windows works fine [root@chello084010044003 guest]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="pclinuxos"keytable=/boot/livecd.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz-2.6.7-2.tmb.6mdk label="pclinuxos" root=/dev/hda5 initrd=/boot/initrd-2.6.7-2.tmb.6mdk.imgappend="devfs=nomount acpi=ht nomce splash=silent"vga=788read-onlyother=/dev/hda6label="win_c"[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Good! :DNow we need to adapt lilo..... kedit /etc/lilo.conf and change other=/dev/hda6label="win_c" to other=/dev/hda3label="win_c" and select file -> save, and quit. then go ahead and give me the output from cat /etc/lilo.conf again, before we commit it to the computer spirits. Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 [root@chello084010044003 guest]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="pclinuxos"keytable=/boot/livecd.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz-2.6.7-2.tmb.6mdk label="pclinuxos" root=/dev/hda5 initrd=/boot/initrd-2.6.7-2.tmb.6mdk.imgappend="devfs=nomount acpi=ht nomce splash=silent"vga=788read-onlyother=/dev/hda6label="win_c"[root@chello084010044003 guest]# kedit /etc/lilo.confLink points to "/tmp/ksocket-root"Link points to "/tmp/kde-root"kbuildsycoca running...KWrited - Listening on Device /dev/pts/9[root@chello084010044003 guest]# Mutex destroy failure: Device or resource busyICE default IO error handler doing an exit(), pid = 4647, errno = 2[root@chello084010044003 guest]# cat /etc/lilo.confboot=/dev/hdamap=/boot/mapdefault="pclinuxos"keytable=/boot/livecd.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz-2.6.7-2.tmb.6mdk label="pclinuxos" root=/dev/hda5 initrd=/boot/initrd-2.6.7-2.tmb.6mdk.imgappend="devfs=nomount acpi=ht nomce splash=silent"vga=788read-onlyother=/dev/hda3label="win_c"[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Alrighty, let's do a /sbin/lilo Show me if it works! Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 it does!!!!dosnt it?[root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Added win_c[root@chello084010044003 guest]# Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 (edited) Reboot and see if it does! Edited January 10, 2005 by ross549 Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 sweet!!!both, linux and windows boot without any problems.i was wondering if i can delete hda3.it looks empty in windows...what do you say Adam? Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Hooray! Hooray!As for deleting hda3, no! It contains the boot files for windows! We cannot remove it. Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 that was a very stupid question i admit. very nice end of the day.Thanx Adam.more questions to come i promis but not today .see you tomorrow Quote Link to comment Share on other sites More sharing options...
ross549 Posted January 10, 2005 Share Posted January 10, 2005 Very well, have a good night! :)Make a list for Bruno, so he knows what to tackle tomorrow. Quote Link to comment Share on other sites More sharing options...
Bruno Posted January 10, 2005 Share Posted January 10, 2005 .Hurrayyyy !Great Job Guys !!!!But where did that hda3 all of a sudden come from ??? . . . LOL ! ( Would it be because hda6 is a logical partition and Windows needs a primary partition to boot from ?? )Anyway: I have some serious homework for you Gaucho:Learning the Vi editor !! . . .You are a bright young lad, so you must be able to master that . . . . and Vi is absolutely essential !!!! ( So we do not have to use Kwrite anymore )Look here: Vi and EmacsVi revisitedHave fun ! Bruno Quote Link to comment Share on other sites More sharing options...
gauchoperezoso Posted January 10, 2005 Author Share Posted January 10, 2005 hi Bruno!!!Homework is done:). wasnt difficult but made me realize how little i know i didnt even know somethiing like this exists up to now i only was playing around with the shell.basic things like creating compressing decompressing and removing files.but i am willing to learn more .so dont feel bad giving me more complicated tasks.ill do my best to carry them out.after all am a bright lad 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.