LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2006, 12:12 PM   #1
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Rep: Reputation: 15
Question QtParted to setup HD parts for #xBoot. Tried format free space in M$, =ped_disk_new


I used QtParted v.0.4.4 on SystemRescue CD to setup multiple partions (SATA HD on Asus M7V mainboard), for multiple (#x) Boot options. I had left ~12GB free space for later use, see NOTE way down below. Am still using SysRescCD for fdisk -l info.
I completed installation of xpPRO, drivers, sp2, various protection programs; spybot, spyware, etc. to the first logical partition {Winblows}. I then tried to format the free space in M$ (a mistake after initial use of QtP?), but it would not complete, have lost note of exact error statement that was displayed. (Could not complete format)
While viewing disk partitions in M$ Disk Management, I saw that partition sizes were out to lunch, shows my 80GB HD is 5402GB with numerous ###GB partitions, while some data (mirror fdisk) is OK! Was the problem caused by my attempt to format all the remaining free space with (A poor or broken partitioning tool) Winblows?

fisk -l after the initial partitioning (B4 Instl M$) appeared normal to me, but now when sda selected in QtParted gui `Critical error during ped_disk_new' is displayed, can not enter any more commands, must reboot the computer to do anything else (M$ Pro still works, no remarkable errors. I used Disk Defragmenter 10.0, not the included M$ version, to defrag & resize MFT OK).
- - - - -
Current fdisk-l 80GB, 80026361856 bytes [ *!* NOTE: *!* mismatch]
255 heads, 63 sectors/track, 9729 cylinders
Units=Cylinders of 16065 * 512=8225280 bytes (*!*)

dev/sda1 * 1 408 3277228+ b W95 FAT32 {Boot-PAGE 3200MB; =1.5x SODIMM RAM, in case I try vista}
2 409 930 4192965 82 SWAP/ Solaris {Shared Swap for all GNU/Linux=2xSODIMM RAM}
3 931 9729 70677967+ f Ext'd (LBA)
5 931 1713 6289416 7 HTFS/NTFS {Winblows}
6 ? 105159 223535 46 Unknown
7 ? 262515 140952 fb Unknown
8 ? * See Edited Reason * db CP/M/ CTOS/ ...
9 ? 217156 165724 e7 Unknown
10? 196904 219641 cd Unknown
11 5499 7119 13020651 6 FAT16
12 7120 8424 10482381 83 Linux {shared HOME for all GNU/Linux}
13 8425 9729 10482381 c FAT32 (LBA) {space for downloads; accessed by both GNU/Linux & MS}
- - - - - - - - - - - - - - - - - - - - - -
Prior to the Free Space format attempt in M$: 6, 7, 8 were formatted ext3 planned as /, for GNU/Linux bundles; FC5, KubuntuLTS, oSUSE 10.1 [remastered], 9 was designated for Slack 11.0. NO GNU/Linux was ever installed!

initial fdisk -l INFO Differences from above data, 8225280 bytes (*!*)
dev/sda6 1714 2496 6289416 83 Linux
7 2497 3279 6289416 83 Linux
8 3280 4062 6289416 83 Linux
9 4063 4715 5245191 83 Linux
12 4716 5498 6289416 {Thought FAT16, but may have been Linux, now not sure w/ the errors I see!}
Free 5499 7119 - - - - - {I know this was free, but current fdisk incorrectly shows sda11 FAT16}

As I recall after all the other partitions were formatted, then I formatted the first 1/2 of the total remaining free space (was sda12 4716 5498, but now shown as current sda11 6 FAT16) as the last step in QtP. This resulted in a sda#s being out of order, but I did not recognize this as being a major problem. On exit of QtP I still had 12+GB free, between sda12 & sda10, this space is what I tried to format in M$!
NOTE: I had left the free space to see what the FC5 automatic partitioner would do with LVM stuff (read FC5 notes, but still do not really understand how LVM works in practice yet!) Normally I delete the LVM stuff and just custom select a location and size for FC5 / and /home. - - - - -

Before M$ was installed, QtP GUI showed me a 40MB section before my first primary part, and 0.03MB between each partition, which is not reflected in fdisk. The 40 MB section apparently prevented me from making 3 primary part as originally desired, resulted in my installing M$xpPro (on 6GB part) in Extended where it seems to work OK.
Is this 40MB normal in QtP, as a Storage location for boot & .03MB for the partitioning information, or ?

*Q1* How do I recover from this w/o complete format, reinstall M$ (partition w/ different part tool *Q2?) I have been doing wipe/reinstall many times in past few months to fix other Grub/Boot problems, have been unable to really test any Linux on this LT.
Think my Hard Drive all OK, as a newbie I have used 3 different HDs; larger 100GB, + a PATA Hitachi.

Thought I might try deleting all partitions after M$ that appear screwy, & hope proper numbers reappear!

Last edited by digital8doug; 11-03-2006 at 02:18 PM. Reason: sda8 Start 176618 Stop 7279, LOST HALF of message when these numbers in list. Shows a Skype Dial symbol, many tries to edit out, NO LUCK. Causing loss of the remaining message *!
 
Old 11-02-2006, 09:16 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
firstly....this size is scam by most hw sellers and is easier to see with the 1.44 Meg floppy

floppy is actually (ms dos format) 1440 kilobytes
divide by (incorrectly) 1000 gives 1.44 megs

it should be 1.41 Megs as we divide by 1024.


2) How does that relate to your first info

fdisk 80 G 80026361856 is just a division assuming 1000 kB to Meg and 1000 Megs to the Gig....so total size is correct.

3) I agree that your partition table is showing a mess. The cylinders are not aligned.......

did you have any important data not backed up? if not I suggest you use a different tool

sfdisk is the best but it text based....see man sfdisk for some options on forcing your geometry to partition table.

4) but there a lots of options and you could consider

running the cd again....del all partitions and start again

running cd again but running a diff tool
sfdisk
fdisk
cfdisk

running a Ms tool etc
 
Old 11-03-2006, 07:44 AM   #3
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
this is a follow up....I had not noticed that you are trying to use LVM and altho I do not use it.....linuxformat mag says you should only provide sufficient space for what you need currently and leave the rest as free space to be grown into later if needed.

2) I am not going to argue with those who use and love LVM....I have never used it so can only comment I love the way I can use simple partition with my imaging tool ...partimage...and if I had naughty disk hoggers I could always use the quota tool against them.

3) In reading your last bits, I think we have some reasons for the mess.

Normally there is 2 partition tables that can be accessed by a good tool such as sfdisk....open a terminal on your cd and type that command and see if anything comes up...or try command
man sfdisk
if you get some text then the command exists.

4) so you have some alternatives based on my limited knowledge on what you really want.

a)...create an easy to maintain linux partition of very large size and run Xen...or vmware....or qemu to try out other distros

The main pro is no changes to partition table
the main con is speed CAN BE (my shout) bad

b) stick with ms but run the ms version of vmware etc to try out hd images of linux distros

c) forget all emulators /para virtualisers and try out live cd/dvds
the main pro is no changes to partition table and no need to set up any emulator etc
the main con is still speed of data transfer off an optical drive

but I think in your case.....due to your lack of backups of partition tables etc....this is your best option.

therefore 2 solutions are
(1)
run a live cd such as knoppix and zero the mbr
see if your ms install cd will detect the size correctly, if so do a clean install and leave it all as ms
run linux live cds only

learn more about lvm or backing up or imaging (Norton ghost is very good for MS) etc

(2)
same as 1 but leave free space not to be used by ms
allow ms to take all non-free space
reload live cd and format end free space as linux partition
read my tutorial on how to create a grub floppy or grub cd...you only need grub for manual jumping ....leaving ms bootloader alone etc

When you install any linux distro....allow it to only install the bootloader in the root partition of linux.

(2a) when you are confident of backing up etc try the ntldr to chainload to the linux partition.

forgive me if I am patronizing your perceived lack of linux skills but I can only infer this is true as you had and have not shown any backup skills

Last edited by aus9; 11-03-2006 at 07:50 AM.
 
Old 11-03-2006, 02:14 PM   #4
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Arrow Learn by correct errors, 2 many just recommend wipe/reinstall=Catch 22. Chainloader+

TY Aus9 for plain english of sorts, it allows me to learn the tech geek speak in bits! LQ seems to be a good place for migrators to learn how. I save new downloaded info (*) to another HD via USB, In Past have not had any good luck in trying to back up data in M$. I do not have any Linux skills as reflected in my HW sig link. I am learning by correcting errors I run into, but most linxers just recommend wipe/reinstall, which is a never ending circle. On a DT HD I have an operational FC5 somewhere but it is disconnected so I can read stuff I have DL (*) from here in M$. Current LT O\S in use for this exchange is a fresh load (~1 week) of M$ as noted in winblows line near the top.
I have no idea (or desire {having enough problems now} ?) of how to use VMware, emulators, not using LVM yet (FC5 did it automatically, just confused me, stan-finley install guide notes LVM discussion poor!) Live DVDs (some were dual-architecture) did not seem to work or I picked wrong option & installed it!
Quote:
Aus9 wrote:forgive me if I am patronizing your perceived lack of linux skills but I can only infer this is true as you had and have not shown any backup skills
Needed a space where I could DL new linux distros >4GB (FAT32 no good!), so I tried to format the Free space as NTFS. Hope I could DL DVD iso images of latest free Mandriva (2007), maybe FC6, burn to DVDs. Then I had planned on deleting the NTFS partition, return it to free space, so maybe allow FC5 or 6 do the LVM stuff?? Never got to the point of DL new iso images!
It appears you indicate I need to make a backup of the partition table prior to loading any O\S, have never heard of this before, but it seems to make sense! Saved for later reading man sfdisk (+cfdisk) from linuxman, Google had much crap before l..m..pg link. Just Set http://www.linuxmanpages.com/man8/ as my homepage!
LVM; not know how it works yet, was trying to stay with normal\basic Swap, /, /home method 1st. Hoping to share Swap, /Home between distros, thus partition sizing I had used, Maybe try more w/ LVM later.
- - - - - - - - - - - - - - - - - - - - - - - - - -
Different problems, see other threads (or posts) I made, please do not remark here. Do not want to deal w/ multiple CDs, but I did try an oSUSE10.2b Internet install method w/o any luck=No WiFi support included on the oS 10.2 CD, only cabled Inet.
My other 100GB SATA [not in use now!] has FC5, Kubuntu6.06, & Slack11 where I had installed the individual BLs to root partition, not MBR, but can not get to boot. Each of these were FULL installs, not the defaults!
Was able to recover & boot M$ by fixmbr & then chainloader +1. No matter what, can not get any of the Linux distros to boot on this LT even when experimenting w/ GAG 4.6 or SysResc 0.2.19 CD in past 2-3 weeks.

It appears many of the newer versions (FC5 stable, etc) work just enough different from the slightly older GNU/Linux bundles that the tutorials do not match exactly, thus one difference & a newbie like me has a cranial panic, but tries to experiment. But old bundles do not allow what I desire on fairly new HW, was hoping new Linux releases were a better product than Redmond crap. At least linuxman tells something not already seen, and starts to explain it!

Last edited by digital8doug; 11-06-2006 at 06:45 PM. Reason: TY Aus9, reading through ..fdisk, parted, mkfs, from L.M.P. , understanding. It APPEARS `sfdisk' is making more sense to me.I quit usig PartMagic8 although was recommended, just causes PROBLEMs!
 
Old 11-03-2006, 10:39 PM   #5
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
yes thanks for the more info I what you have tried, it confirms my thinking that you need to grasp some more backup ideas and altho I do not want to rewrite howtos here....I give a crash course on the NON-LVM (my shout) way of partition tables

1....partitions can have extended primary partitions greater than 4 but needs special software.....so I stay with basic (your) mbr
2 ...partitions can be all primary but only 4 max
3 so if need 5 or more partitions you need to have at least one extended...when it is created....it takes up all the space of the now missing primary...but logically if needs subdiving so its partition are called logical

in linux that start either as hdx5 or sdy5 eg /dev/hda5 for ide drive jumpered as master first logical partition of a extended partition.

4...if you have lots of ram....1G is recommended you do not need a swap partition or virtual drive or swapping or paging file

so you can get away with a simple 4 primary partition which is what I have adopted but I cheat...heh heh as i use an imaging tool to save my system files as images using www.partimage.org

this tool saves your mbr hint hint.

5
a)
so to backup your 4 or less primary only partition table you can just run dd from a live or non-live environment

dd if=/dev/hda of=/path to save output/mbr bs=512 count=1

change hda to your jumpered system eg sdb or hdc etc

copy this file to cdr....the backup is complete

best to use a live cd to restore such as knoppix or the smallest download iso image is Recovery is Possible.

b) to backup your extended partition table is messier as the info is held in sequence and needs a tool to jump to each end and beginning of each logical partition to get the info.

ignore the fact the floppy is mentioned below, it is the way to backup thats important

http://wiki.linuxquestions.org/wiki/Using_Toms_floppy

and this returns us full circle to the fact that it is the tool
sfdisk that offers better backup of your mbr and not fdisk or cfdisk

Last edited by aus9; 11-03-2006 at 10:42 PM.
 
Old 11-03-2006, 10:53 PM   #6
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
ps I have just had a peek at some of your other posts, and my opinion is that you have been playing with your partition table just a wee bit too much as you have or had played with gag and partition magic.

part tables are simple but I think you run a risk which I think is now evident to you?

its your computer....but troubleshooting is easier if you do not try to change too many things at once.

if you had grub issues in the past....bump your thread or see if my tutorial or the link to the errors at the other forum is of assistance.
 
Old 11-06-2006, 08:02 PM   #7
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Wink I Swap out HD, try new methods, hope to learn enough Linux-go back & fix other 2 HDs

Saved your How2 to HD and I read again later, TY for the good info! GAG4.6 was used once to recover (& then shown to other newbies as a great tool) after I had to use fixmbr on different HD. I only use the rescue tools to learn & as a last resort. When encounter problem if can not fix, I pull HD and start over fresh w/ newer methods I learned, keep old setup on other HD until I can fix, or give up & wipe/reinstall.
Even w/ just plain XP on HD I reinstalled fresh formatted ~3months to try various things I had learned about. Experimented w/ RAIDs 0, 1, 0+1 (PATA or SATA. even R10 P+S, next is a 5 HD R3) on my DT rigs using nVidia or various PCI add in cards (+PCI Exprs x1), will probably try RAIDs on Linux (methinks a single bundle only) ~2ndQ 07!
I understand basic partitioning, 4 P, or 3 P + Ext, but not sure why QtParted (**) only allowed 2 P and then Ext.
Some of my past problems were due to Vista partitioning which is not the same as XP (led to PM8 crash!). That is why NO vista 4 me now, migrating to GNU/Linux and learning as I go!
From reading L..M.P. I see there are differences in the way DOS parts & Linux parts are made (it appears XP makes crappy parts, & always places a 8MB space @ tail end of HD). Other readings & links here recommended using QtParted to set up (**) partitions on an HD, appears my mistake was formatting QtP free space in XP!
I had tried only a 1GB swap, but Linux (FC5, or Mandriva?) did not seem to like it, the distro still wanted to make a 2nd swap of 2 or 4GB (2xRAM).
Understand that for most normal use w/2GB DC SODIMM, the virtual memory space will probably never be fully utilized, on my LT system in M$ only ~345MB is normally in use. Know that when V M used, system performance slows down as HD access much slower than CPU-RAM. My desire is to get a GNU/Linux I can install & run w/ ease. End use is for Digital Video Editing, so idea of staying w/ SWAP=2xRAM had been recommended, just in case the programs wanted it.
When only M$ & 1 GNU/Linux on HD appears to be easy, but learning to setup HD for a couple of Linux & M$ can be challenging if sharing swap & /home parts for the best use of existing HD space.
Tomorrow nite after I show the partition display in M$ Disk management to a new LUG we are forming I plan to try sfdisk (or cfdisk) with a more experienced linuxr (but not much part exp) to see what happens. Or if no good luck w/ ..disk, will try to delete the screwed up logical drives/spaces in MS Dsk Mgt. If all goes well will try Full install of oSUSE10.1 remastered. or Kubuntu 6.1, Mandriva 2007 live CD depending on group interest.
 
Old 11-07-2006, 07:36 AM   #8
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
you have been a busy lad eh?

to be rude...I have never considered raid as I have only 1 drive and its backed up to removeable media using www.partimage.org

raid mirrored assumes you may lose vital data and I am covered on that score...which leaves a fast boot fast read using raid striped...I get 30 seconds to boot my vanilla kernel to a mdk 2006 so I am not impatient.

I used to have a crappy 433 Mhz cpu which toook timmme.

2) I do not care what you do....as long as you learn to backup....and backup and when in doubt backup.

playing with linux distros would be better suited to a qemu/vmplayer or running it on a special partition that you chainload into.

3) as a general rule its wise to install Ms first and use its tools and then install linux and use linux tools.

good luck
 
Old 11-08-2006, 09:01 AM   #9
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Arrow Figured out how 2 delete Unknown partitions w/ parted, sfdisk & confirmed excess gone

I showed the weird partition display in M$ Disk management to a new LUG we are forming, Was unable to delete any of the good or bad logical parts (Delete Logical Drive). A restart * appeared normal, but a fast BSOD display (unreadable Blue Screen) and reboot commences. After these partition deletion attempts MS recovery does not see * the disc! Use of M$ recovery option FIXMBR did nothing!
Considering attempting use of M$ Install process to see what is displayed, Repair existing Operating system(?) - - - -
GAG indicates more available Operating Systems than actually exist, shows 0C h M$ -Windows FAT32 from G to S, only xp Pro on sda5! F is 83h Linux ext2 (but I formatted all linux in QtP as ext3!) Attempt to boot using GAG = A kernel file is missing from the disk. - - - - - - -
sfdisk (fdisk & cfdisk) -l outputs were shown to three more experienced linuxr (but they do not have much part experience), have `seek error, can not seek to 2837363964'! - - - - - - - - - - - -
None of the others know how to properly use ..disk, or parted to delete a partition.*?* Should parted rm 6 work?*?
LAST EDIT: Initial rm # failed, repeated tries worked. This Post shows chronological progression of deletion.
Quote:
Originally Posted by digital8doug
When encounter problem if can not fix, I pull HD and start over fresh w/ newer methods I learned, keep old setup on other HD until I can fix, or give up & wipe/reinstall.
I see how partimage will SAVE to an image file (MBR, or partition tables). Have not figured out how to delete any of the bogus part info yet. Still desire experiment w/ rescue methods to see how they work, others learn! - - - - -

sfdisk -l Disk /dev/sda: 9729 cylinders, 255 heads, 63 sector/track
llseek: Invalid argument sfdisk: seek error on /dev/sda - can not seek to 2837363964
Units = cylinders of 8225280 bytes, blocks of 1024, counting from 0

Device Boot Start End #cyls #blocks Id System
dev/sda1 * 0+ 407 408- 3277228+ b W95 FAT32
2 408 929 522 4192965 82 SWAP/ Solaris
/dev/sda3 930 9728 8799 70677967+ f Ext'd (LBA) NOTEifference from fdsik -l (original thread)
/dev/sda4 0 - 0 0 0 Empty {Not sure if this displayed before I tried Delete?}
5 930+ 1712 783- 6289416 7 HTFS/NTFS [Why different from fdisk -l info 931 1713 ??)
/dev/sda6 5498+ 7118 1621- 13020651 6 FAT16
start: (c,h,s) expected (1023,254,63) Found (1023,1,1)
/dev/sda7 7119+ 8423 1305- 10482381 83 Linux
start: (c,h,s) expected (1023,254,63) Found (1023,1,1)
/dev/sda8 8424 9728 1305- 10482381 c W95 FAT32 (LBA)
start: (c,h,s) expected (1023,254,63) Found (1023,1,1)

Why does sfdisk -l show/display sda6, 7, 8 info that was sda11, 12, 13 in fdisk -l (*Q?*) other than the partition table is completely screwed up? - - - - - -
Prior to attempting Delete Logical Drive in M$ Disk Mgt sfdisk -l appeared similar to above, but not sure if sda4 0 info was displayed, failed to record the exact info as time was short, trying to find a tool that one of the other Linuxr understood. [Now v2.12r fdsisk -l=Unable to seek on /dev/sda, cfdisk -l=cfdisk: Invalid option --l, cfdisk=FATAL ERROR: Cannot seek on disk drive]
IMHO This means sfdisk 3.08 really is a better tool, than cf or fdisk, as it gives some info! But unable delete any of the logical partitions in Extended part
sfdisk -G llseek: Invalid argument seek error .....

sfdisk -s /dev/sda: 78150744 total: 78150744 blocks

*Q* Should I try dangerous options and use `override the detected geometry' for sda4, 6 and others?
IMHO sda 4 should have start / end of 930 9729 (As currently reflected by sda3?)

% rootnoverify (hd0,4) or root (hd0,4) displays zsh: unknown file attribute
- - - - - - -
parted /dev/sda tried rm 6, then 7, 8 rm command did not appear to work, see sfdisk -d
print Error: Invalid argument during seek for read on /dev/sda

sfdisk -d llseek: Invalid argument & same error as above
# partition table of /dev/sda
unit: sectors
/dev/sda1: Start = 63, size= 6554457, Id= b, bootable
2 6554520, 8385930, Id=82
3 14940450, 141355935, Id= f
4 0, 0, Id= 0
5 14940513, 12578832, Id= 7
6 88325433, 26041302, Id= 6
7 114366798, 20964762, Id=83
8 135331623, 20964762, Id= c

parted on reentry rm 6 Error: Invalid argument during seek for read on /dev/sda
Retry/Ignore/Cancel I Error: Invalid partition table on /dev/sda -- wrong signature b7ef Ignore/Cancel I
Partition number? 6 Seemed to work
rm 7 seemed to work
rm 8 Error: Partition doesn't exist
rm 6 Seemed to work
rm 7 Error: Partition doesn't exist
rm 6 Error: Partition doesn't exist

Seems continued attempts parted rm # w/ Ignore finally worked, Retry & Cancel did not.
Now sfdisk -l stops @ sda5! & GAG shows extra 0C h M$ -Windows FAT32 are GONE! xpPRO still not booting!

Last edited by digital8doug; 11-08-2006 at 06:43 PM. Reason: Still attempting reboot PRO, reflecting various rescue methods I have, available to me that I have tried to boot M$ xpPRO. Using SysRescCD Linux Virtual Console #1, or xp Install CD. Recommendations?
 
Old 11-09-2006, 08:29 AM   #10
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,266

Rep: Reputation: Disabled
look I think you are going to get frustrated ....if not already.

it is not clear to me if you or the LUG tried to zero the mbr.

so lets be specific as possilbe

Assuming you have cables jumpered correctly fully inserted ....
start a live cd such as knoppix
open a shell

commands are
su.....prompt changes from $ to # to prove you now have root power
dd if=/dev/zero of=/dev/sda bs=512 count=1

close terminal and reboot....yes reboot it was I said

back in knoppix relook with your fdisk or sfdisk or cfdisk or qtparted at your drive and see if it is now ok.

ONLY if it ok....create new partitions and either install ms...and/or linux

2) I really really recommend you do not try lots of boot managers etc until we have a table that you are comfortable with.

I have my suspensions of gag....sorry but trouble shooting requires documented trial paths and gag is unnecessary at this stage

this is not a pro-grub plug as grub is un-necessary at this stage.

3) there are more dangerous ways of wiping your drive......but we won't go down that path or are you desperate?
 
Old 11-09-2006, 02:54 PM   #11
digital8doug
Member
 
Registered: Aug 2006
Location: Near Binghamton, NY-the recent FLOOD zone
Distribution: Sabayon 351, Mepis8, oSuse11.3, Kubuntu8.1, Fed10, Slack12.1 #426299 RLU
Posts: 145
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Thumbs up fixmbr=Up & running fine, postting w/ oSUSE on WiFi. Start Backups w/ dd, Save 2 USB

After I deleted bogus parts w/ parted , then M$ XP install CD Repair Options could recognize the HD OK finally, diskpart showed desired partitions were still there, with correct sizes.
fixboot seemed useless, NO change, but Fixmbr worked (& erased GAG stuff as expected), reboot=Back to M$ .
I enlarged M$ partition by 2GB, then a Full Install of oSUSE remastered, custom partitioned using suse recommendations as base, using shared swap. Am Rebooting to try my Intel 2915 for Inet access in oSUSE!

TY for the help Aus9, your 3 nov 0844 stated ` When you install any linux distro....allow it to only install the bootloader in the root partition of linux.' But oSUSE seemd to lack any choices on Grub or Lilo, install to MBR or root partition, just did what it wanted, and is working OK so far !
btw, No jumpers on a NB SATAI HD as far as I know, even though a Western Digital head rep told me there are, but later he recanted when I asked for his boss. He was the tech boss!

Now that I have a useful MBR & a GNU/Linux operating I will back up part tables as described & continue same after each new GNU/Linux bundle is tested!

Last edited by digital8doug; 11-10-2006 at 02:11 PM. Reason: Can I replace floppy w/ sdb1 to save mbr-backup or part.sdf to a USB flash? Connected intel 2915 OK, posting fm SUSE 10 now. Hoping to load Mandriva 2007, FC#, Slack 11 this weekend, using custom part
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qtparted "critical Error During ped_disk_new" Winkavitch Linux - General 6 11-02-2006 12:24 AM
Critical Error during ped_disk_new help required Winkavitch Linux - Newbie 0 10-25-2006 07:49 PM
How to Format & give hdax to free space Rashid Ali Linux - Hardware 6 08-21-2005 02:55 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 05:10 AM
Setup free space on /dev/hdc without screwing up /swap DavidPhillips Linux - General 4 06-24-2001 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration