Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Just installed, can't boot

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
debianoob
Posts: 2
Joined: 2016-12-13 09:22

Just installed, can't boot

#1 Post by debianoob »

I just installed debian on my PC, but it doesnt boot. I had a windows previously installed on SDD and i installed my debian on HDD cause i wanna keep my SSD only for windows. I made 3 disks "/" "/boot" "/home" when i was gonna finish install it said "We detected a windows .... Woud you like to install GRUB on first hard disk" I pressed no and select my "/boot" folder. when i lauch PC it starts with Windows, doesnt even see boot. Then go to BIOS and disable SSD and it said "Put a media boot device or CD and restart"

I boot from LIVE usb and type lsblk - here is it

Code: Select all

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0 489.1G  0 part 
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0  18.6G  0 part 
├─sda6   8:6    0    94M  0 part 
└─sda7   8:7    0 139.7G  0 part 
sdb      8:16   0 232.9G  0 disk 
├─sdb1   8:17   0   100M  0 part 
└─sdb2   8:18   0 232.8G  0 part 
sdc      8:32   1   7.5G  0 disk 
└─sdc4   8:36   1   7.5G  0 part /lib/live/mount/medium
loop0    7:0    0 836.9M  1 loop /lib/live/mount/rootfs/filesystem.squashfs
sdc is a live flash. sda - HDD, sdb - SSD
Coud you help me please ?

User avatar
kiyop
Posts: 3983
Joined: 2011-05-05 15:16
Location: Where persons without desire to improve themselves fear to tread, in Japan
Been thanked: 3 times

Re: Just installed, can't boot

#2 Post by kiyop »

debianoob wrote:when i was gonna finish install it said "We detected a windows .... Woud you like to install GRUB on first hard disk" I pressed no and select my "/boot" folder.
You should have selected the HDD (such as /dev/sda) instead of "/boot" PARTITION (such as /dev/sda6).
debianoob wrote:when i lauch PC it starts with Windows, doesnt even see boot.
It seems to be VERY natural.
debianoob wrote:Then go to BIOS and disable SSD and it said "Put a media boot device or CD and restart"
It seems to be VERY natural.

Does your PC boot with UEFI?

Boot with Super Grub2 Disk.
http://www.supergrubdisk.org/super-grub2-disk/

Or wait for answer from Head_on_a_Stick.
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Just installed, can't boot

#3 Post by Head_on_a_Stick »

For a non-UEFI system, I think re-installing GRUB to the MBR of the disk and configuring the bootloader should fix things.

This guide is quite old but it should still work:

http://crunchbang.org/forums/viewtopic.php?id=15351

If you do not know if your machine is UEFI or not then post the full output of:

Code: Select all

# parted -l
deadbang

debianoob
Posts: 2
Joined: 2016-12-13 09:22

Re: Just installed, can't boot

#4 Post by debianoob »

I tried to do what type there, but then i get error when i typed grub-install

Code: Select all

Installing for i386-pc platform.
grub-install: warning: this LDM has no Embedding Partition; embedding won't be possible.
grub-install: error: embedding is not possible, but this is required for RAID and LVM install.
then i google and tried this. but it didn't help

parted -l

Code: Select all

Model: ATA ST1000VX000-1ES1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  545GB   545GB   primary
 2      545GB   545GB   98.6MB  primary  ext2
 3      545GB   1000GB  455GB   primary


Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  106MB  105MB  primary  ntfs         boot
 2      106MB   250GB  250GB  primary  ntfs


Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdc: 8056MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End     Size    Type     File system  Flags
 4      131kB  8056MB  8056MB  primary  fat32        boot


User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Just installed, can't boot

#5 Post by bw123 »

Sector size (logical/physical): 512B/4096B

Number Start End Size Type File system Flags
1 32.3kB
Peculiar, maybe you should try your install again and repartition this device correctly?
resigned by AI ChatGPT

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Just installed, can't boot

#6 Post by Head_on_a_Stick »

debianoob wrote:i typed grub-install
Please post the exact, full command that you used.

Also, that `parted` output is not consistent with the `lsblk` output that you posted originally and they do not appear to be describing the same devices -- can you explain this?
deadbang

Post Reply