Thread: Server will not boot DD copied over boot I think.
i on ubuntu server typing commands. wanted put floppy image on floppy. typed dd command wrong , when did not hear sound of floppy going press ctrl c. seemed good.
got image on floppy. hours leter not doing out dhcp address'. rebooted did not boot. put monitor on it. said dos can not boot press key. hooked keyboard on , keeps going screen.
booted live ubuntu dvd. typed fdisk -l , here get:
it's 1tb green wd drive. did have on 750 gb think used true image backup put on 1tb , had 80gb partition rest of room other partition. when tib copied 750 gb 1 tb made both partitions % bigger.code:root@ubuntu:~# fdisk -l disk /dev/sda: 1000.2 gb, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders units = cylinders of 16065 * 512 = 8225280 bytes disk identifier: 0xb824568a doesn't partition table selected wrong device. device boot start end blocks id system /dev/sda1 ? 266489 495373 1838516058 fe lanstep partition 1 not end on cylinder boundary. /dev/sda2 ? 101574 223172 976729911 c0 unknown partition 2 not end on cylinder boundary. /dev/sda3 ? 68013 179889 898645175 64 novell netware 286 partition 3 not end on cylinder boundary. /dev/sda4 ? 14072 14072 5 6f unknown partition 4 not end on cylinder boundary. parition table entries not in disk order root@ubuntu:~#
dos floppy dd restoring. think fdisk -l showing that. quit in 5 sec. guess. did not copy hole floppy start of hard drive. little. not sure how little.
there way fix this? reinstall ubuntu on top of it's slelf if that's takes?
what's best way fix this?
-raymond day
on command line:
history
see command typed. if did /sda1 instead of /fd0 then, yes trashed boot disk.
yes, can reinstall ubuntu using "no format" option when going through installation guide. overwrite ubuntu-specific files keep user files intact. loose configuration settings, may able recover.
guess critical file system information stored within first 1.44 mb of partition. there may copy of superblock outside of boundary perhaps fsck find. don't know.
linux can recover fair amount of fs damage, in case may fatal.
have had luck resurrecting partitions using cfdisk rewriting partition table known values. may not work in case because besides partition table being overwritten, first 1.44 mb of partition boot floppy image. fast floppy boot though.
future reference: writes usb , floppies delayed file system reduce wear-and-tear on flash disks. don't eject them soon!
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Server will not boot DD copied over boot I think.
Ubuntu
Comments
Post a Comment