Multiple partition Debian install from harddisk

Discussion in 'Debian GNU/Linux' started by brandn0007, May 25, 2013.

  1. brandn0007

    brandn0007 New Member

    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    0
    Hi I had installed Debian to dual boot with windows on my laptop but accidentally deleted Debian (sudo rm /) lol. So I have failed to fix the problem and lost my 8gb usb drive. I had 5 or six partitions i believe. I would wish to use a completely free partition of 6gb to store the Debian installer. Then use the grub that boots to install the new Debian where the old one was.
    Note: the other partitions are my windows 7 and recovery partitions.


    I would like to know:

    If this is viable, Which installation files to put on the free partition, and any special instruction as to installing the new Debian in place of the old one.

    Thank you for your help
    DevynCJohnson likes this.
  2. pane-free

    pane-free Active Member

    Messages:
    357
    Likes Received:
    83
    Trophy Points:
    28
    wtf? too unclear as to what you had, what happened, and what your hdd looks like now. :confused:

    what is the USB stick (you lost) to do with the question?
    Why did you have an extended partition on your hdd in the first place, and how many partitions are dedicated to windoze (should be one only)?

    suggest using gparted, doing a screenshot in jpg, make it 600X800 and posting it here; this would tell us what is there now.
    DevynCJohnson likes this.
  3. brandn0007

    brandn0007 New Member

    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    0
    So I was able to download the debian-netinst iso file, linux kernel and initrd. Then placed them on the free partition where i used grub to load the kernel and initrd then booted the iso to install and it worked. It turned out that 2 partitions were a part of an external hard-drive i had attached so in actuallity there were 4 partitions. a Linux, swap, windows, and free extended. In grub I used these cmds I found after researching for hours lol

    linux (hd0,msdos6)/linux
    initrd (hd0,msdos6)/initrd.gz
    boot (hd0,msdos6)/debian-7.0.0-amd64-netinst.iso

    I didn't originally have a wired connection so i was hoping to do this with the cd1 iso but that turned out to leave me with a version that had very little so i used the netinstall you see above.

    Now that i have debian working after a 24hrs of working on it my broadcom 4322ag adapter is giving me problems along with the network manager that wheezy has.

    PS i mentioned the lost usb because i had nothing external to boot from eg. usb , cd/dvd so i had to use the extended partition

    Thx for you interest I guess I figured this thread would be a faster solution than hours of research :/ but i know there are alot posts and not as many experts :)

    to clarify to any others (hd0,msdos6) is the free partition formated in fat32

Share This Page