Jump to content

Recommended Posts

Posted

Well, you heard the Windows expert Gaucho . . . a repair install on hda6 ( did not even know that was possible :thumbsup: ) . . . otherwise start from scratch, repartition and a new Windows install on hda1 ;)Sorry my friend . . . B) Bruno

  • Replies 416
  • Created
  • Last Reply

Top Posters In This Topic

  • gauchoperezoso

    183

  • Bruno

    140

  • ross549

    63

  • ikerekes

    20

gauchoperezoso
Posted

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?

Posted
Windows expert
Personally, 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.
Posted
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.
Posted

Correct . . we get LILO back with the boot-CD you made for PCLos . . . B) . . and then /sbin/liloB) BrunoSorry Adam . . . but compaired to me you are an expert :thumbsup:

gauchoperezoso
Posted

ok lets get this over with then B) :) i ll be back in an hour or so :thumbsup:

Posted

Gauchoperezoso....make sure you select the repair option... it should go much quicker. :thumbsup:

Posted

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" . . . . . ;):thumbsup: Bruno

Posted

This would probably be a good time for me to get supper.... :thumbsup:

gauchoperezoso
Posted

finally am back :thumbsup: 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. B) now ill will reboot and launch linux from boot cd and will need your help with creating lilo :)

gauchoperezoso
Posted

i am back running pclos this time :thumbsup: .i have 4 partitions now B) .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

Posted

OK then,Can you give the the output from:

mountdf -h

gauchoperezoso
Posted

[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]#

Posted

Looks good so far. Now, I would like to see the output from:

fdisk -l /dev/hda

gauchoperezoso
Posted

[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 :thumbsup:

Posted

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

gauchoperezoso
Posted
:thumbsup: B) [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]#
Posted

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

gauchoperezoso
Posted

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]#

Posted

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. :)

gauchoperezoso
Posted
:) :w00t: :lol: [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]#
Posted

Alrighty, let's do a

/sbin/lilo

Show me if it works! :)

gauchoperezoso
Posted

it does!!!!dosnt it?[root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Added win_c[root@chello084010044003 guest]# :)

Posted (edited)

Reboot and see if it does! :)

Edited by ross549
gauchoperezoso
Posted
:lol: :lol: 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? :) :w00t:
Posted

Hooray! Hooray!2002%2007%2001%20Fireworks%20in%20Hong%20Kong%20Harbor.jpgAs for deleting hda3, no! It contains the boot files for windows! We cannot remove it. :) :w00t: :lol: :lol: :lol: :D

gauchoperezoso
Posted
:lol: :lol: that was a very stupid question i admit. :) :lol: very nice end of the day.Thanx Adam.more questions to come i promis but not today :D :D .see you tomorrow :w00t:
Posted

Very well, have a good night! :)Make a list for Bruno, so he knows what to tackle tomorrow. :)

Posted

.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 !:w00t: Bruno

gauchoperezoso
Posted

hi Bruno!!!Homework is done:). wasnt difficult but made me realize how little i know :( B) 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 :( :D B) :D :D :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...