Jump to content

Recommended Posts

Posted

Man . . . these are mysteries !!! . . .

# fdisk -l /dev/hda

Let me see that foolish disk ;)B) Bruno

  • Replies 416
  • Created
  • Last Reply

Top Posters In This Topic

  • gauchoperezoso

    183

  • Bruno

    140

  • ross549

    63

  • ikerekes

    20

gauchoperezoso
Posted
B) [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/hda5 64 2485 19454683+ 83 Linux/dev/hda6 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]#
Posted

I have found it !!! . . hda6 is not bootable !! . . ( the SWAP is bootable B) B) )Give me 10 minutes to write down the commands for youB) Bruno

Posted

Careful Gaucho ! Here they are:

# fdisk /dev/hda

Press the a keyPress the 1 key ( number ONE !! )Press the a key againPress the 6 key ( number SIX )Press the w keyThen show me again

# fdisk -l /dev/hda

B) Bruno

Posted
table=/dev/hda

needs to be

table=/dev/hda2

That should make windows bootable. B)

gauchoperezoso
Posted

take your time Bruno.the most important thing is to get it to work.in the mean time i play around with the termianl a little bit zipping unzipping creating removing training files B)

Posted
table=/dev/hda

needs to be

table=/dev/hda2

That should make windows bootable. B)

??? hda2 is the extended one !! . . . but hda6 has no "*" . . . that is what it needs as far as I know !Gaucho the instructions are posted above ;)B) Bruno
Posted

Whoops... my mistake. It then needs to read

table=/dev/hda6

My eyes must be getting old. B)

Posted
Whoops... my mistake. It then needs to read
table=/dev/hda6

My eyes must be getting old. B)

That is what we did . . but got errors writing lilo . . . because hda6 is not bootable !!!!B) Bruno
Posted

Here are the commands Gaucho:

# fdisk /dev/hda

Press the a keyPress the 1 key ( number ONE !! )Press the a key againPress the 6 key ( number SIX )Press the w keyThen show me again

# fdisk -l /dev/hda

:D Bruno

gauchoperezoso
Posted

[root@chello084010044003 guest]# fdisk /dev/hdaThe number of cylinders for this disk is set to 4864.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)Command (m for help): aPartition number (1-6): 1Command (m for help): aPartition number (1-6): 6Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table.The new table will be used at the next reboot.Syncing disks.[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/hda5 64 2485 19454683+ 83 Linux/dev/hda6 * 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]#

Posted

LOOKING GOOD !!!Now try again:

# /sbin/lilo

:D Bruno

gauchoperezoso
Posted

i got lost a little bit. :D.is it hda2 or 6? :D B)

Posted

It is hda6 !!! . . . . LOLJust run

/sbin/lilo

:D Bruno

gauchoperezoso
Posted

still nothing i guess :D root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Fatal: Partition entry not found.[root@chello084010044003 guest]#

Posted

Just reboot so the kernel can read the new partition table . . and do that command again B):D Bruno

Posted

See you after the reboot !:D Bruno

gauchoperezoso
Posted

[root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Fatal: Partition entry not found.[root@chello084010044003 guest]#the same as before.even at the startup swap partition failed. :D B)

gauchoperezoso
Posted

i didnt try to add this 3rd line once more after the first usuccesful attempt.is it ok?

Posted

A second shot:

# fdisk /dev/hda

Press the a keyPress the 1 key ( number ONE !! )Press the w keythen

# fdisk -l /dev/hda

AND after that remove that last line from /etc/lilo.conf again !!! ( table=/dev/hda )

# kwrite /etc/lilo.conf

Reboot and try again

# /sbin/lilo

:D Bruno

gauchoperezoso
Posted

[root@chello084010044003 guest]# fdisk /dev/hdaThe number of cylinders for this disk is set to 4864.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)Command (m for help): aPartition number (1-6): 1Command (m for help): wThe partition table has been altered!Calling ioctl() to re-read partition table.WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table.The new table will be used at the next reboot.Syncing disks.[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/hda5 64 2485 19454683+ 83 Linux/dev/hda6 * 2551 4863 18579141 7 HPFS/NTFS[root@chello084010044003 guest]# kwrite /etc/lilo.confLink points to "/tmp/ksocket-root"Link points to "/tmp/kde-root"kbuildsycoca running...KWrited - Listening on Device /dev/pts/5[root@chello084010044003 guest]# Mutex destroy failure: Device or resource busyICE default IO error handler doing an exit(), pid = 3753, errno = 2ICE default IO error handler doing an exit(), pid = 3759, errno = 0i removed the last line,the one that i added just a while before.should i reboot?

Posted

Yep . . go for it !! Reboot . . .

The kernel still uses the old table.The new table will be used at the next reboot.
:D Bruno
gauchoperezoso
Posted

[root@chello084010044003 guest]# /sbin/liloAdded pclinuxos *Added win_c[root@chello084010044003 guest]#now that looks much better :D

Posted

Good !!!NOW Reboot into WINDOWS . . :D( sorry to see you go that way Gaucho B) :D )B) Bruno

gauchoperezoso
Posted

one short and hopefully easy question.how do i save the network configuration?every time i reboot i have to configure it all over again B) it doesnt take a lot of time but is quite a pain :D

Posted

It does NOT get saved ?? ???? . . . Strange !!Well, I want you first to try Windows . . and then we will see what we can do . . . :DB) Bruno

gauchoperezoso
Posted

nope :D.windows still not bootable.at the menu i chose win c and the screen when dark with a prompt...also when starting linux it fails to enable swap partition B) .

Posted

Ooooh . . that is a pitty !!For the /swap I need to see:

# cat /etc/fstab

But you could also start re-installing Windows . . because I need a 15 minutes tea break :D . . . or Adam should take over . . . . Anyway a re-onstall of Windows is needed . . nothing more I can fix from here :DB) Bruno

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