Jump to content

ububtu/kubuntu


longgone

Recommended Posts

Hi DalePlease remind me that tomorrow we FIRST make a PCLos rescue CD ( after removing the windows part out of the lilo.conf ) . . . because else we will loose even more distros.:huh: Bruno

Link to comment
Share on other sites

  • Replies 107
  • Created
  • Last Reply

Top Posters In This Topic

  • longgone

    55

  • Bruno

    48

  • rolanaj

    2

  • teacher

    2

Okay dale . . . the PCLos /etc/lilo.conf . . . you need to remove all the references to Windows and hda3, and next run "/sbin/lilo -b /dev/hda" again to see if it runs without errors. After that we can make the rescue CD.:lol: BrunoPS: Looks like your hda is in terrible shape . . . I think everything is wiped :w00t:

Link to comment
Share on other sites

 # File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this filedefault="pclinuxos"boot=/dev/fd0map=/boot/mapkeytable=/boot/livecd.kltmenu-scheme=wb:bw:wb:bwpromptnowarntimeout=100message=/boot/messageimage=/boot/vmlinuz-2.6.11-oci12.mdk-i586-up-1GB	label="pclinuxos"	root=/dev/hdb8	initrd=/boot/initrd-2.6.11-oci12.mdk-i586-up-1GB.img	append="devfs=nomount acpi=ht nomce splash=silent psmouse.proto=imps"	vga=788	read-onlyother=/dev/hda8	label="hda8"other=/dev/hdb7	label="hdb7"image=/boot/vmlinuz-smp	label="linux-smp"	root=/dev/hdb8	initrd=/boot/initrd-smp.img	append="nomce devfs=nomount acpi=ht splash=silent psmouse.proto=imps"	vga=788	read-onlyimage=/boot/vmlinuz-2.6.12-oci4.mdksmp	label="2612-oci4smp"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci4.mdksmp.img	append="nomce devfs=nomount acpi=ht splash=silent psmouse.proto=imps"	vga=788	read-onlyimage=/boot/vmlinuz-i586-up-1GB	label="linux-i586-up-1GB"	root=/dev/hdb8	initrd=/boot/initrd-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/vmlinuz-2.6.12-oci5.mdk-i586-up-1GB	label="2612i586up1GB-oci5"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci5.mdk-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/memtest-1.65.bin	label="memtest-1.65"image=/boot/vmlinuz-i586-up-1GB	label="alt_linux-i586-up-1GB"	root=/dev/hdb8	initrd=/boot/initrd-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB	label="2612i586up1GB-oci6"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788other=/dev/hdb7label="Xandros"

Link to comment
Share on other sites

Hi DaleI think you will have to remove this part as well:

other=/dev/hda8	label="hda8"other=/dev/hdb7	label="hdb7"

After that the

# /sbin/lilo -b /dev/hda

should work without problems . . . . . . now, if it does okay, please reboot and see if indee you get the PCLos lilo-bootloader at boot . . . and please choose this entry when booting:2612i586up1GB-oci6 ( because that is the most recent kernel :w00t: ):lol: Bruno

Link to comment
Share on other sites

 # File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this filedefault="pclinuxos"boot=/dev/fd0map=/boot/mapkeytable=/boot/livecd.kltmenu-scheme=wb:bw:wb:bwpromptnowarntimeout=100message=/boot/messageimage=/boot/vmlinuz-2.6.11-oci12.mdk-i586-up-1GB	label="pclinuxos"	root=/dev/hdb8	initrd=/boot/initrd-2.6.11-oci12.mdk-i586-up-1GB.img	append="devfs=nomount acpi=ht nomce splash=silent psmouse.proto=imps"	vga=788	read-onlyimage=/boot/vmlinuz-smp	label="linux-smp"	root=/dev/hdb8	initrd=/boot/initrd-smp.img	append="nomce devfs=nomount acpi=ht splash=silent psmouse.proto=imps"	vga=788	read-onlyimage=/boot/vmlinuz-2.6.12-oci4.mdksmp	label="2612-oci4smp"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci4.mdksmp.img	append="nomce devfs=nomount acpi=ht splash=silent psmouse.proto=imps"	vga=788	read-onlyimage=/boot/vmlinuz-i586-up-1GB	label="linux-i586-up-1GB"	root=/dev/hdb8	initrd=/boot/initrd-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/vmlinuz-2.6.12-oci5.mdk-i586-up-1GB	label="2612i586up1GB-oci5"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci5.mdk-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/memtest-1.65.bin	label="memtest-1.65"image=/boot/vmlinuz-i586-up-1GB	label="alt_linux-i586-up-1GB"	root=/dev/hdb8	initrd=/boot/initrd-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788image=/boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB	label="2612i586up1GB-oci6"	root=/dev/hdb8	initrd=/boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img	append="nomce acpi=ht splash=silent psmouse.proto=imps"	vga=788other=/dev/hdb7label="Xandros"

Link to comment
Share on other sites

[root@localhost dale]# /sbin/lilo -b /dev/hdaIgnoring entry 'boot'Added pclinuxos *Added linux-smpAdded 2612-oci4smpAdded linux-i586-up-1GBAdded 2612i586up1GB-oci5Added memtest-1.65Added alt_linux-i586-up-1GBAdded 2612i586up1GB-oci6Added Xandros[root@localhost dale]#
NEXT !!!
Link to comment
Share on other sites

Looks okay this way, so let us try:

# /sbin/lilo -b /dev/hda

:w00t: BrunoLOL . . I see you already did in the next post :DNow please boot this entry: 2612i586up1GB-oci6

Link to comment
Share on other sites

Okay..... back using that kernel edition...... question though.... you said it appeared the hda was wiped ..... wouldn't it just be one big empty partion then .... iOkay..... back using that kernel edition...... question though.... you said it appeared the hda was wiped ..... wouldn't it just be one big empty partion then .... I checked it and it still has both Linux and XP partitioons

Link to comment
Share on other sites

Password:[root@localhost dale]# uname -r2.6.12-oci6.mdk-i586-up-1GB[root@localhost dale]# fdisk -lDisk /dev/hda: 100.0 GB, 100030242816 bytes16 heads, 63 sectors/track, 193821 cylindersUnits = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id SystemDisk /dev/hdb: 61.4 GB, 61492838400 bytes255 heads, 63 sectors/track, 7476 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hdb1 * 1 382 3068383+ 83 Linux/dev/hdb2 383 7476 56982555 5 Extended/dev/hdb5 383 1146 6136798+ 83 Linux/dev/hdb6 1147 1528 3068383+ 83 Linux/dev/hdb7 1529 2484 7679038+ 83 Linux/dev/hdb8 2485 3440 7679038+ 83 Linux/dev/hdb9 3441 4396 7679038+ 83 Linux/dev/hdb10 4397 7476 24740068+ 83 Linux[root@localhost dale]#
and by doing that what did I just do ??
Link to comment
Share on other sites

Disk /dev/hda: 100.0 GB, 100030242816 bytes16 heads, 63 sectors/track, 193821 cylindersUnits = cylinders of 1008 * 512 = 516096 bytesDevice Boot Start End Blocks Id System
This shows clearly that hda has no partitions at all :(BUT please let us first make a rescue CD:
 # mkrescue --iso --initrd /boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img --kernel /boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB

( Command is ONE line !! ):w00t: Bruno

Link to comment
Share on other sites

[root@localhost dale]# mkrescue --iso --initrd /boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img --kernel /boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB2880+0 records in2880+0 records outMaking filesystemmke2fs 1.38 (30-Jun-2005)/tmp/mkrescue-emu is not a block special device.Proceed anyway? (y,n) Filesystem label=OS type: LinuxBlock size=1024 (log=0)Fragment size=1024 (log=0)24 inodes, 2880 blocks144 blocks (5.00%) reserved for the super userFirst data block=11 block group8192 blocks per group, 8192 fragments per group24 inodes per groupWriting inode tables: doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 20 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.Mounting filesystemCopying files...`/boot/livecd.klt' -> `/tmp/mkrescue-flp/lang.ktl'`/boot/initrd-2.6.12-oci6.mdk-i586-up-1GB.img' -> `/tmp/mkrescue-flp/initrd'`/boot/vmlinuz-2.6.12-oci6.mdk-i586-up-1GB' -> `/tmp/mkrescue-flp/linux'done.Running /sbin/lilo ...Ignoring entry 'boot'Added linux *Added hard_diskdone.MKISOFSSize of boot image is 5760 sectors -> Emulating a 2880 kB floppyTotal translation table size: 2488Total rockridge attributes bytes: 410Total directory bytes: 0Path table size(bytes): 10Max brk space used 01624 extents written (3 MB)END MKISOFS: output is in 'rescue.iso'The bootable CD can be burned with the 'cdrecord' utilityusing a command of the form: cdrecord [<options>] [dev=<device>] rescue.isoAll done.[root@localhost dale]#
Link to comment
Share on other sites

Good . . . now in your /home there is a "rescue.iso" . . . burn it to CD and test it if it works okayB) Bruno

Link to comment
Share on other sites

:w00t: :lol: ;) . . .A successful burn n boot has been accomplished .... now ... since my swap partition WAS on hda5 and now hda is wide open .... where is my swap going to be now ????
Link to comment
Share on other sites

;) :D
Password:[root@localhost dale]# swapon -s[root@localhost dale]#
this gives me the impression that I am .... swapless ..... :w00t: :lol:
Link to comment
Share on other sites

Indeed Dale . . . . . sswappless . . . . . :DOkay . . . . here is the plan:1). Use PCLos to make new partitions on HDA . . . . . . ( Do not touch hdb !!!!!!! ) . . . . ( make a swap partition too, does not have to be hda5 because we can adjust that later . . . but if it is hda5 it would be sweet ;) )2). Re-install Windows XP to start with . . . . . . . this will replace the bootloader in the MBR, but we have made a rescue CD so once the job is done and XP is okay we will replace the bootloader by the PCLos lilo and add XP back to it.3). Tomorrow we will take the next steps to install/add Mandriva and Slackware I will give you special instructions before you do so.B) Bruno

Link to comment
Share on other sites

Before I start this .... if I make the partions on hda first before putting on any OS's ... when I go tp install XP am I going to have a fight with it to get it to install ... or will it just go where it is supposed to be ... ?????

Link to comment
Share on other sites

If you make the partition FAT it will see the partition and suggest to you to install XP there ( and format it NTFS for you before it starts )If all other partitions are Ext3 and/or swap formatted then XP will simply ignore those because it can not even see them ;);) Bruno

Link to comment
Share on other sites

:hmm: :hmm: ........This sounds like a plan ...... might just rethink about installing Ubuntu since I am starting with a totally mpty drive ..... it just might work ... ;) B)
Link to comment
Share on other sites

Dale ???? . . .You're not serious are you ?? . . . Ubuntu just created this terrible mess, made 2005LE unbootable, wiped your full hda, ALL partitions, leaving not even one partition . . . not even the /swap . . . . . You do know that with that trackrecord you could end up with 2 empty HDs . . . do you ??;) Bruno

Link to comment
Share on other sites

Bruno,,,,, ,,,, Yes ,,, I do realize that ... in reality ... I will play with the "buntu's" on my other machine ... I would rather install FreeBSD on this machine than do an instant replay of what just happened ....

Link to comment
Share on other sites

FreeBSD is easier to install on a separate computer too . . . . with only FreeBSD on it ;) ( Or other BSDs in multiboot )B) Bruno

Link to comment
Share on other sites

Please Dale . . . allow me to be frank with you:See BSD is very different from Linux . . . . And now you are still in the process of learning to speak "Linux" I think it is not very wise to start learning yet another "language" . . . it will only result in you mixing up things.So my advise would be: first be a Linux 'pro" and only then take the next step and take on the BSD adventure.;) Bruno

Link to comment
Share on other sites

;) B) .......Bruno, , , Not to fear .. YET .... that as meant as I would rather this (FreeBSD) than do the Ubuntu again ... you have absolutely no idea how much got wiped from this fiasco .... but I have been studying diligently about the BSD's .. there are things I like .. a lot .... unfortunately some of their forums are less than helpful .... same goes for some of their people ... at this time .. if I were to be so bold as to try and do BSD it would be on it's own hard disk and the other distros would be on a separate disk ..... and until I could get the multi-boot boot loader figured out I would have to boot them individually from floppy/cd disk ..... but that is way down the road..
Link to comment
Share on other sites

:) :thumbsup: :thumbsup: Question .... HDA is all partioned now, did get swap back to HDA5 .. that was fairly easy .. tried to install windows ... did not accomplish that .... I get the BSOD every time ... tried two different disks and two different drives ... the only thing I managed to do was have to use the PCLOS boot/rescue to get back on line and to run/sbin/lilo ... main questions ... do all those partitions need to be formatted in order to install XP at the moment .. none are and when I get to the point in the install peocess where I should select where it goes ,, it shows all the partions ... it is after I make the selection that the BSOD pops up telling me that it has detected a problem and is shutting down to prevent damage ... ideas ?????
Link to comment
Share on other sites

... main questions ... do all those partitions need to be formatted in order to install XP at the moment .. none are and when I get to the point in the install peocess where I should select where it goes ,, it shows all the partions ...
Yep sure you need to set the "type" and "format" all the partitions . . . including the FAT oneB) Bruno
Link to comment
Share on other sites

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